I found a curious error when extrapolating pdl's into a string for
printing. For example, when I run the program: 

    #!/usr/bin/env perl
    use warnings;
    use strict;

    use PDL;

    my $a=pdl(1);
    my $b=pdl(2);
    print "First: $a $a ";
    print "Second: $a $b ";
    print "Third: $b $b\n";
I obtain the output
    First: 1 Second: 1 Third: 2
instead of the expected
    First: 1 1 Second: 1 2 Third: 2 2
i.e., the second pdl in each print statement is not printed!

Regards,
Luis


-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | [email protected]   /\_/\__/

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org                 



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

Reply via email to