From: Tomas Doran Date: Wed, 12 Aug 2009 11:56:08 +0000 (+0100) Subject: Doc patch for argv parameter from rindolf++ X-Git-Tag: 0.21~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e3f178a28d08d0d21cdf52b9a7aeec724e58616;p=gitmo%2FMooseX-Getopt.git Doc patch for argv parameter from rindolf++ --- 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.