Skip Menu |

This queue is for tickets about the Module-Which CPAN distribution.

Report information
The Basics
Id: 16332
Status: resolved
Priority: 0/
Queue: Module-Which

People
Owner: NEILB [...] cpan.org
Requestors: jtanner [...] amazon.com
Cc:
AdminCc:

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



Subject: Provide example does not work
Attached is a working example for Perl 5.8.7.
#!/usr/local/perl/bin/perl ################################################################################ # # Copyright (c) 2005 Amazon.com Inc. All Rights Reserved. # AMAZON.COM CONFIDENTIAL # # Description: # # Author: Jeff Tanner, <jtanner@amazon.com> # # $Id: $ # $Source: $ # $Revision: $ # ################################################################################ use Module::Which; my @info_array = @{ which('Module::Which', 'YAML', 'XML::', 'DBI', 'DBD::', 'attrs') }; foreach my $info ( @info_array ) { print qq(pm: $info->{pm} \n) if $info->{pm}; print qq(version: $info->{version} \n) if $info->{version}; print qq(path: $info->{path} \n) if $info->{path}; print qq(base: $info->{base} \n) if $info->{base}; print "\n############\n"; }
Thanks -- I've fixed this in 0.03. Cheers, Neil