http://www.perlmonks.org?node_id=1040096


in reply to Re^2: 2D array in Perl
in thread 2D array in Perl

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)