Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-CheckOS CPAN distribution.

Report information
The Basics
Id: 45046
Status: resolved
Priority: 0/
Queue: Devel-CheckOS

People
Owner: Nobody in particular
Requestors: PIOTO [...] cpan.org
Cc:
AdminCc:

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



Subject: use-devel-checkos doesn't work
use-devel-checkos is doing: my @oses = @ARGV || die("You must specify at least one OS\n"); But, at least on the version of perl I have (5.8.8), that ends up putting @ARGV into scalar context, so @oses just contains the number of arguments given, not the actual arguments. Changing the '||' to 'or' fixes this.
It also has a spurious: mkdir 'inc/AssertOS'; That probably should either be 'inc/Devel/AssertOS', or just not exist (since you're doing the mkdir File::Spec->catdir(@dircomponents); further down).
Thanks, fixed in 1.52