in reply to Re^4: List vs array printing in perl
in thread List vs array printing in perl
The docs may be right, but 5.011 works for me (on 5.20):
$ cat xxx.pl #!/usr/bin/env perl use 5.011; use warnings; $x = 1; $ ./xxx.pl Global symbol "$x" requires explicit package name at ./xxx.pl line 5. Execution of ./xxx.pl aborted due to compilation errors.
That said, I see no great advantage to having a non-stable-release version as the minimum requirement, especially such an old one. YMMV.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: List vs array printing in perl
by ikegami (Patriarch) on Apr 01, 2016 at 16:06 UTC | |
|
Re^6: List vs array printing in perl
by soonix (Chancellor) on Apr 20, 2016 at 20:21 UTC |