nice, I didn't know that trick to add "normal" code after the import; part of use 5 =)
Note unfortunately it doesn't end up inside the BEGIN:
$ perl -MO=Deparse '-M5;print "Hello"' -e 'print "World"' sub BEGIN { require 5; () } print 'Hello'; print 'World';
The trick was added to perlsecret as the "Maori Farewell" by Discipulus after I posted about it here.
In reply to Re^5: One liner with globs on Windows to parse .srt files
by haukex
in thread One liner with globs on Windows to parse .srt files
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |