Have you tried it?? Here goes
both versions print 10. Watch out though how you cluster your switches, -e has to be last in a cluster or alone!% perl -012 -e 'print ord $/' % perl -0012 -e 'print ord $/'
Watch out for the special cases of
% perl -00 # paragraph mode % perl -0777 # slurp mode
-- Hofmator
In reply to Re: perl -e0octal
by Hofmator
in thread perl -e0octal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |