4 ms·
Actually constructs like: somethingHappened or otherwiseDo(x) used to be idiomatic perl (and might well still be for all I know). Edit: Just for amusemen
by arethuza 15y ago
Actually constructs like:
somethingHappened or otherwiseDo(x)
used to be idiomatic perl (and might well still be for all I know).
Edit: Just for amusement it would probably be:
somethingHappened not { x otherwiseDo } if
in PostScript
- knowtheory 15y agoAnd would allow for constructions like open FILE, "filename.txt" or die Which is nice enough to read (and can be seen in actual examples around the web: http://www.perlfect.com/articles/perlfile.shtml http://www.perlfect.com/articles/perlfile.shtml ) The semicolon wars frustrate me. We have an arbiter of what's correct/valid syntax and what isn't. It's the freaking lexer, heaping additional prescriptivism on top for something as trivial as semicolons is irritating. If your code has ambiguity problems, fix it by writing unambiguous code. Semicolons are not the only way.