in reply to Re^4: One liner with globs on Windows to parse .srt files
in thread One liner with globs on Windows to parse .srt files
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 Section
Seekers of Perl Wisdom