Yeah, that's basically the same idea, but a bit longish for a one-liner, don't you think?
Dunno, seemed like the most straightforward answer to your question - just copy Win32\Autoglob.pm to wglob.pm ;-)
("'-M5;@ARGV=<*.srt>' -e'...'" actually doesn't save any characters over "-e'BEGIN{@ARGV=<*.srt>}...'")
Update: Regarding PERL5OPT, sure!
In reply to Re^3: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |