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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: One liner with globs on Windows to parse .srt files
by jcb (Parson) on May 15, 2021 at 02:30 UTC | |
Re^6: One liner with globs on Windows to parse .srt files
by LanX (Sage) on May 14, 2021 at 12:32 UTC | |
by haukex (Archbishop) on May 14, 2021 at 13:15 UTC | |
Re^6: One liner with globs on Windows to parse .srt files (backdoor)
by LanX (Sage) on May 14, 2021 at 12:13 UTC |
In Section
Seekers of Perl Wisdom