-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 3/25/2010 8:22 PM, Andrew Dunbar wrote:
Yes I was printing these from my bot so I new it was using ancient versions of some modules but wanted to know where they were coming from. I wonder if there is a programmatic equivalent for -V
$ perl -e 'print join "\n", @INC' /home/overlordq/lib/i86pc-solaris-thread-multi-64int-ld /home/overlordq/lib /opt/ts/perl/5.10/lib/5.10 /opt/ts/perl/5.10/lib/site_perl/5.10 /opt/ts/perl/5.10/lib/vendor_perl/5.10 /opt/ts/perl/5.10/lib/vendor_perl/5.10
or if you only want a single module:
$ perl -MArchive::Tar -le 'print $INC{"Archive/Tar.pm"}' /opt/ts/perl/5.10/lib/5.10/Archive/Tar.pm
if that's what you meant by programmatic equivalent.