in reply to Re^2: 2D array in Perlin 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.
(hooked on the Perl Programming language)