Subject: | Sample code from CPAN returns undef instead of array |
I have Linux 2.6, Perl 5.8.8, GSL 1.12, Math::GSL 0.20. Sample code
from CPAN:
====
use Math::GSL::FFT qw /:all/;
my $data = [ (1) x 10, (0) x 236, (1) x 10 ];
my $stride = 1;
my ($status, $fft) = gsl_fft_complex_radix2_forward ($data, $stride,
128);
===
returns 0 in $status but undef in $fft.