K
ked
This one really puzzles me.
How do I convcert a traditional perl array @filelist into a PDL piddle
on which I can index by using the PDL::NiceSlice module. Creating
piddles and NiceSlice works great for everything about piddles of
numbers, but when it comes to text I'm stuck.
print @filelist[0]; returns someting like
/home/user/data/some_datafile.dat
$newfilelist = pdl @filelist;
print $newfilelist(0:2); returns only
[0 0 0]
What am I missing?
Ked
How do I convcert a traditional perl array @filelist into a PDL piddle
on which I can index by using the PDL::NiceSlice module. Creating
piddles and NiceSlice works great for everything about piddles of
numbers, but when it comes to text I'm stuck.
print @filelist[0]; returns someting like
/home/user/data/some_datafile.dat
$newfilelist = pdl @filelist;
print $newfilelist(0:2); returns only
[0 0 0]
What am I missing?
Ked