what is the correct syntax if I want to run it in Linux?
See the answer in Re: 2D array in Perl by Brother hdb.
That one should do what you want with both perl versions and both operating systems.
Cheers, Sören
(hooked on the Perl Programming language)
In reply to Re^3: 2D array in Perl
by Happy-the-monk
in thread 2D array in Perl
by Perl_ca_user
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |