in reply to perl glob

Under Windows, the "shell" would not expand the wildcard, but then you can simply use:

my @files = glob $input;

Replies are listed 'Best First'.
Re^2: perl glob
by Anonymous Monk on Nov 07, 2013 at 14:33 UTC

    Thanks dude! That works!

Re^2: perl glob
by afoken (Chancellor) on Nov 08, 2013 at 09:22 UTC

    Even better: Win32::Autoglob handles globbing transparently.

    (Note that it does not handle globbing correctly on OS/2 and DOS, and you better don't set an environment variable named SHELL on Windows or else it will assume running under cygwin.)

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)