On Tue, Mar 6, 2012 at 11:42 PM, Paul Johnson <p...@pjcj.net> 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 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).
Thanks, I have never tried the hexadecimal output before. I thought ... why is 0, not 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 I can easily tell the two, I just read from pdf and took it as O, just googled the inconsolata, I will stick to the gvim Thanks again, > 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/