Skip Menu |
 

This queue is for tickets about the AppConfig CPAN distribution.

Report information
The Basics
Id: 5699
Status: new
Priority: 0/
Queue: AppConfig

People
Owner: Nobody in particular
Requestors: thomas.nagel [...] planb.de
Cc:
AdminCc:

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



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: AppConfig::Args->parse
X-RT-Original-Encoding: iso-8859-1
Content-Length: 381
Download (untitled) / with headers
text/plain 381b
In AppConfig::Args::parse the comment in line 118 is right, an mandatory arguments must be checked for leading dashes . This particular check is missing ;-) # check there's another arg and it's not another '-opt' if(defined($argv->[0])) { $value = shift(@$argv); } should be if( defined($args->[0]) && $args->[0] !~ m/^-/){


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.