amarobin has asked for the wisdom of the Perl Monks concerning the following question:
I am new to perl and I would like to know why the following lines don't work on my pc.
I actually want to execute this line to see if bignum is found.perl -le 'print 2**255;' Can't find string terminator "'" anywhere before EOF at -e line 1.
perl -Mbignum -le 'print 2**255;' Can't find string terminator "'" anywhere before EOF at -e line 1.
The version of perl is this: >perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread Copyright 1987-2007, Larry Wall
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'perl -le' not working on the command line
by bart (Canon) on May 26, 2011 at 10:47 UTC | |
|
Re: 'perl -le' not working on the command line
by Bloodnok (Vicar) on May 26, 2011 at 10:48 UTC | |
by ikegami (Patriarch) on May 26, 2011 at 16:07 UTC | |
|
Re: 'perl -le' not working on the command line
by ww (Archbishop) on May 26, 2011 at 10:55 UTC | |
|
Re: 'perl -le' not working on the command line
by Anonymous Monk on May 26, 2011 at 10:37 UTC | |
by Anonymous Monk on May 26, 2011 at 10:40 UTC | |
|
Re: 'perl -le' not working on the command line
by locked_user sundialsvc4 (Abbot) on May 26, 2011 at 11:29 UTC | |
by Anonymous Monk on May 26, 2011 at 12:22 UTC | |
by Anonymous Monk on May 26, 2011 at 17:21 UTC |