in reply to Global Symbol issue while using arrays
with Modern::Perl like this:use 5.10.1; use strict; use warnings;
#!/usr/bin/perl use Modern::Perl; my(@wt) = (1,2,3,4); print $wt[2], "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Global Symbol issue while using arrays
by prasaduco (Initiate) on Jun 07, 2011 at 06:46 UTC | |
by Anonymous Monk on Jun 07, 2011 at 08:08 UTC |