Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I always tweak the programs I install on Windows, adding a line before the main program action that says:
    @ARGV = map { glob } @ARGV;

    That tip was brought to you by the good folks at perlmonks [perlmonks.org].

    --Nat

    • Do you know if that's just a command.com thing, or does cmd.exe and/or Cygwin require that hack too?

      I note that glob() seems to use Unix globbing logic, not MSDOS globbing logic. I guess that's okay, even tho in theory one could type "*.[t-z]" and really mean all files ending in a literal ".[t-z]", as opposed to all files ending in a dot and any single letter t thru z.