Hi all,

I try to read some data using a reader function as:
sub lector{my $e = rcols "$_[0]",8,{LINES=>"3:-2"};return $e;}
I tested and it works.
so I tried to used with rcube as:

perl -MPDL -e '$PDL::IO::Misc::colsep ="\t";sub lector{my $e = rcols 
"$_[0]",8,{LINES=>"3:-2"};return $e;} $m= rcube  \&lector, glob("*.conf");'

but I get the next message:

PDL: Dimensions must be positive
Caught at file -e, line 1, pkg main

I try to see examples with a reader function but I can not find,
Could anyone help me ?

Thanks in advance.


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to