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 ex

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. > >

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

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. > >

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 li