Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm needing to write a Test::More test script which accepts command-line arguments, and passes these parameters to functions defined in the script itself.
Nothing in perldoc indicates that this is possible, nor have any tests using Getopt::Long works in such an environment.
Is there a way I can pluck values from the command-line while using Test::More?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test::More command-line arguments?
by chromatic (Archbishop) on Sep 25, 2012 at 00:03 UTC | |
by Anonymous Monk on Sep 25, 2012 at 00:17 UTC | |
by tobyink (Canon) on Sep 25, 2012 at 00:24 UTC | |
by Anonymous Monk on Sep 25, 2012 at 00:30 UTC | |
by Anonymous Monk on Sep 25, 2012 at 00:38 UTC | |
by Anonymous Monk on Sep 25, 2012 at 00:22 UTC | |
by sbohning (Initiate) on Oct 14, 2021 at 21:39 UTC |