works fine for me
Last login: Fri Nov 23 08:44:47 on ttyp1
Welcome to Darwin!
[~] % cat > stuff.pl
$x = sequence(10);
wcols $x, 'tmp.dat';
1;
[~] % perldl
Loaded PDL v2.4.3
perldl> do 'stuff.pl'
perldl> #cat tmp.dat
0
1
2
3
4
5
6
7
8
9
perldl>
On 23/11/2007, at 7:42 PM, Xavier Calbet wrote:
No. But I normally run PDL code from the shell command line
directly without going through perldl
Xavier
On Nov 22, 2007 10:48 AM, Kåre Edvardsen <[EMAIL PROTECTED]> wrote:
I have a chunk of perl code with some piddles into it as well.
Mainly It
reads columns of data (rcols), makes some pretty easy calculations
on the
piddles (sums and means) and then writes some piddles (wcols) to a
file.
But for the the file to be written (I'm actually always writing
over the
sime file) I have to run the code twice from the PDL-prompt, like
twice this
command:
perldl> do 'stuff.pl'
Then I get suspicious if even things are calculated right. Anyone
else
experienced this behaviour?
All the best,
Kare
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl