Devel::PL_origargv - access to the Perl interpreter's argv
my @PL_origargv = Devel::PL_origargv->get;
If Perl is run with the following command:
perl -w -Ilib yourscript.pl arg1 arg2
@ARGV will be pre-populated with
$0 will reflect the name of your script, but there's no way to access
This module provides one class method that returns Perl's original argv array as a list.
Returns argv as a list of strings. If called in scalar context, returns argc (i.e. the count of argv).
This module's test suite will not pass when run via
forkprove. Use the standard
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Devel-PL_origargv.
Toby Inkster <firstname.lastname@example.org>.
This software is copyright (c) 2012-2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.