in reply to Re^5: Listing URLs to stdout
in thread Listing URLs to stdout

You have to prefix oneliners with BEGIN{@ARGV=map glob,@ARGV} on Windows. I thought it didn't need pointing out that the Windows commandline and shell design is braindead.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^7: Listing URLs to stdout
by hsmyers (Canon) on Jan 14, 2005 at 15:42 UTC

    You know, windows is so brain dead, that, that would make a good command line switch. Or maybe just build the equivalent into perl.exe for the poorer country cousins forced to make do.

    Update: The sum of this thread works nicely:
    perl -pe"BEGIN{@ARGV=map glob,@ARGV}s/^URL=|.*//s" *.url

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."