Skip Menu |

This queue is for tickets about the Getopt-ArgvFile CPAN distribution.

Report information
The Basics
Id: 6158
Status: resolved
Priority: 0/
Queue: Getopt-ArgvFile

People
Owner: JSTENZEL [...] cpan.org
Requestors: johanl [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Wishlist: auto-run argvFile()
Would it be possible to have a parameter on the "use Getopt::ArgvFile" line to automatically run the argvFile() function? In the normal case, I don't see the point of deferring this to just before running Getopt::Long, so long it's before. So doing it during BEGIN-time would work just as fine, and I could cut one line out of my program :)
Hello, thanks for the suggestion! I just uploaded version 1.07 which now allows you to say use Getopt::ArgvFile default=>1, home=>1; The interface is identical to argvFile(). For the traditional line use Getopt::ArgvFile qw(argvFile); the old importing behaviour is emulated, so existing scripts should continue to work. Jochen Stenzel