in reply to Re^2: Parameters incorrect interpreted when passed to perl-standalone
in thread Parameters incorrect interpreted when passed to perl-standalone

Try Win32::Autoglob

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: Parameters incorrect interpreted when passed to perl-standalone

Replies are listed 'Best First'.
Re^4: Parameters incorrect interpreted when passed to perl-standalone
by Yaerox (Scribe) on Mar 16, 2017 at 09:45 UTC
    First of all, the description itself says:

    "If you just add use Win32::Autoglob; in your program, this module will alter @ARGV by performing globbing. I.e., '*.txt' will be expanded to whatever *.txt matches, like ('whatever.bin', 'junk.txt', 'stuff.txt', 'thing.dat') -- or if there are no *.txt files, you'll just get an @ARGV of ('whatever.bin', 'thing.dat')."

    This behaviour is not what I'm looking for. I tested this module and as expected, the module performed globbing before. So I had the same unwanted behaviour on perl just like I got it when running the standalone executable.