... it wouldn't work with 'strict' in use.
Whatever makes you think that? See command line invocation
c:\@Work\Perl\monks>perl -wMstrict -le
which enables full strictures (and also, I must admit, global warnings; not, in general, a good idea, but OK for command line examples). (Update: In general, everything I post on PerlMonks and all the code I write has lexical strictures and warnings fully enabled, with only very specific strictures/warnings lexically disabled. I consider this a Best Practice.)
Give a man a fish: <%-{-{-{-<
| [reply] [d/l] [select] |
My humblest apologies, AnomalousMonk.
I didn't read Tux's post carefully enough, and because it appeared under your post, I wrongly thought Tux was talking to you. But looking now at the indentation of Tux's post, it looks as if he was responding to my original post. I wasn't meaning to claim your code wouldn't work with 'strict', but I was trying to allow for that possibility, if what I thought Tux was saying, was correct.
Sorry.
| [reply] |