Package: pdl Version: 1:2.4.2-5 Severity: important
I am trying to run the following script based on PDL examples. But readflex and probably many other functions are not exported. Depending whether I uncomment AutoLoader or qw(readflex) I am getting errors below. #!/usr/bin/perl -w # # use PDL; #use PDL::AutoLoader; #use PDL::IO::FastRaw qw(readflex); use PDL::IO::FastRaw; use PDL::FFTW; $fname = "emi_read.bin"; $header = [ {Type => short, NDims => 2, Dims => [ 4,2**16 ] } ]; @a = readflex($fname, $header); ............ [EMAIL PROTECTED]:~/EMI/test$ ./calc-signal.pl "readflex" is not exported by the PDL::IO::FastRaw module Can't continue after import errors at /usr/lib/perl5/PDL/Exporter.pm line 60 BEGIN failed--compilation aborted at ./calc-signal.pl line 7. [EMAIL PROTECTED]:~/EMI/test$ vi calc-signal.pl [EMAIL PROTECTED]:~/EMI/test$ ./calc-signal.pl PDL AutoLoader: Undefined subroutine readflex() cannot be autoloaded. No file `readflex.pdl' was found in your @PDLLIB path. [EMAIL PROTECTED]:~/EMI/test$ vi calc-signal.pl [EMAIL PROTECTED]:~/EMI/test$ ./calc-signal.pl Undefined subroutine &main::readflex called at ./calc-signal.pl line 17. I am not sure why PDL/Exporter.pm is used instead of simply Exporter.pm. Best regards, Tomasz Motylewski -- System Information: Debian Release: testing/unstable APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.10-rc2-mm1 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages pdl depends on: ii fftw2 [fftw2-double] 2.1.3-16.2 Library for computing Fast Fourier ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libgsl0 1.8-1 GNU Scientific Library (GSL) -- li ii libplplot9 5.3.1-11 Scientific plotting library ii libterm-readkey-perl 2.30-3 A perl module for simple terminal ii perl 5.8.8-6.1 Larry Wall's Practical Extraction ii perl-base [perlapi-5.8.8] 5.8.8-6.1 The Pathologically Eclectic Rubbis pdl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]