in reply to RFC: 101 Perl PDL Exercises for Data Analysis
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]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: 101 Perl PDL Exercises for Data Analysis
by thechartist (Monk) on May 07, 2019 at 15:30 UTC | |
by QM (Parson) on May 08, 2019 at 10:22 UTC |