On Dec 18, 2003, at 3:08 AM, Rob Dixon wrote:
That's exactly what the ExtUtils::Installed was created for:
use strict; use warnings;
use ExtUtils::Installed;
my $install = new ExtUtils::Installed; print map "$_\n", $install->modules;
why on my linux box does that print
meatbop: 58:] ./find_modules.plx Perl meatbop: 59:]
and on my solaris box it does
vladimir: 58:] ./find* C::Scan Data::Flow Perl vladimir: 59:]
whereas the traversing code I posted yesterday cf <http://www.wetware.com/drieux/pbl/perlTrick/traverse_inc.plx>
meatbop: 74:] ./tra* | head traversing /usr/lib/perl5/site_perl traversing /usr/lib/perl5/5.8.1 Module: AnyDBM_File Module: Attribute::Handlers Module: Attribute::Handlers::demo::Demo Module: Attribute::Handlers::demo::Descriptions Module: Attribute::Handlers::demo::MyClass Module: AutoLoader Module: AutoSplit Module: B meatbop: 75:]
seems to get around that limitation?
Is the vendor supplied version of perl from Linux for Suse and RedHat defective?
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>