Re: strict subs" in use at -e line 1.

2012-03-06 Thread lina
On Tue, Mar 6, 2012 at 11:42 PM, Paul Johnson wrote: > On Tue, Mar 06, 2012 at 11:31:59PM +0800, lina wrote: >> $ perl -Mstrict -wle '{my $char = chr(Ox394) ; print $char;}' >> >> Bareword "Ox394" not allowed while "strict subs" in use at -e line 1. >> Execution of -e aborted due to compilation er

Re: strict subs" in use at -e line 1.

2012-03-06 Thread Chris Stinemetz
On Tue, Mar 6, 2012 at 9:31 AM, lina wrote: > $ perl -Mstrict -wle '{my $char = chr(Ox394) ; print $char;}' > > Bareword "Ox394" not allowed while "strict subs" in use at -e line 1. > Execution of -e aborted due to compilation errors. > > I don't understand the above error message well, > > Thanks

Re: strict subs" in use at -e line 1.

2012-03-06 Thread Shawn H Corey
On 12-03-06 10:31 AM, lina wrote: $ perl -Mstrict -wle '{my $char = chr(Ox394) ; print $char;}' Bareword "Ox394" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors. I don't understand the above error message well, Thanks ahead for any explain

Re: strict subs" in use at -e line 1.

2012-03-06 Thread Paul Johnson
On Tue, Mar 06, 2012 at 11:31:59PM +0800, lina wrote: > $ perl -Mstrict -wle '{my $char = chr(Ox394) ; print $char;}' > > Bareword "Ox394" not allowed while "strict subs" in use at -e line 1. > Execution of -e aborted due to compilation errors. > > I don't understand the above error message well,

strict subs" in use at -e line 1.

2012-03-06 Thread lina
$ perl -Mstrict -wle '{my $char = chr(Ox394) ; print $char;}' Bareword "Ox394" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors. I don't understand the above error message well, Thanks ahead for any explainations, Best Regards, -- To unsub

Re: Learning perl

2012-03-06 Thread 'lesleyb'
On Mon, Mar 05, 2012 at 07:42:24PM -0800, David Christensen wrote: > On 03/05/2012 07:19 AM, lina wrote: > >Which books are the best perl books you have ever read? > > 1. Learning Perl -- this book gets you up the initial learning > curve. Read it cover to cover, enter and play with the example c