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,

The immediate problem you are seeing is that you should be using the
number zero (0) rather than the uppercase letter O (O).

If you are not using a font which allows you to easily distinguish
between then two, may I suggest inconsolata as a good choice for
programming?

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to