more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
G'day Alexander, My intention was to show the variety of alternatives available. I would never expect the "... && ... && ..." to be used in a real program. "# that's not perl: && ord($key) == 0o33" Actually it is; however, it's very new. See "perl5340delta: New octal syntax 0oddddd". I have Perl v5.34.0 installed. I checked my code with "perl -e 'use strict; use warnings; ...'" which would normally pick up things introduced since v5.8 (e.g. say). It's good to know that 0o33 passed on my installation without including a "use 5.034;" statement; I'll keep an eye on that in other code. Thanks for spotting this. — Ken In reply to Re^7: Capture a non-printable char and test what it is
by kcott
|
|