I think you should be using single quotes so shell stuff doesn't get expanded. And maybe -l to add a newline:
$ perl -MPDL -le '$arr = sequence(10); print $arr' [0 1 2 3 4 5 6 7 8 9]
In reply to Re: RFC: 101 Perl PDL Exercises for Data Analysis
by reisinge
in thread RFC: 101 Perl PDL Exercises for Data Analysis
by thechartist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |