in reply to perl -e0octal
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
|
|---|