X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt.pm;fp=lib%2FMooseX%2FGetopt.pm;h=8a86c921ad98191f49e99324f630338c0f2a2f2d;hb=0e3f178a28d08d0d21cdf52b9a7aeec724e58616;hp=6b0c359afcdc635b0030a2d87c55c037dd6b58e5;hpb=b9cb205999e58e29e14082d0f47c05774159f228;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 6b0c359..8a86c92 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -423,6 +423,9 @@ This method will take a set of default C<%params> and then collect params from the command line (possibly overriding those in C<%params>) and then return a newly constructed object. +The special parameter C, if specified should point to an array +reference with an array to use instead of C<@ARGV>. + If L fails (due to invalid arguments), C will throw an exception.