Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 +source kit. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have acces +s to the Internet, point your browser at http://www.perl.org/, the Pe +rl Home Page.
perl -e 'say "test"'; String found where operator expected at -e line 1, near "say "test"" (Do you need to predeclare say?) syntax error at -e line 1, near "say "test"" Execution of -e aborted due to compilation errors.
perl -M5.10.1 -e 'say "test"'; test
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wondering why does 5.10 features are not working
by moritz (Cardinal) on Sep 23, 2011 at 19:31 UTC | |
by Anonymous Monk on Sep 23, 2011 at 20:37 UTC | |
|
Re: wondering why does 5.10 features are not working
by BrowserUk (Patriarch) on Sep 23, 2011 at 19:30 UTC | |
|
Re: wondering why does 5.10 features are not working
by ikegami (Patriarch) on Sep 23, 2011 at 19:39 UTC |