On 26 March 2010 12:35, Q overlordq@gmail.com wrote:
-----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.
Yes perfect! Thanks again.
Andrew Dunbar (hippietrail)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBCAAGBQJLrA9UAAoJEL+AqFCTAyc2pEsH/idFX5savPC/xrREp3ELg+lZ 36wqLK+S4rVSDS8ydP2ToTRHcgbB5FNhK+q4jXMO5n5XEpOd99lJmj4gAUuKeZMS Mceoh85VuDfwkauEIkwvr4P4IcM4fC095ML1lkzDjhh4yqIiIXXedAPxLWER4+2h jK9yTWV+FLvRGQZWmAEx5z4jA0OtHFPaVGc5/yqddM5v5wNqjxu1a+qv9Y4KSH4B +UBJUJPuISOIYTAR6o519CId1MCtC3MvQDpzbVbpOJEPj9ftD9KzLuFfqgOFQxTM vlbw8CREkBixmq81E2kRKs7yP+hkyUtyZRT4L2myaNBwfmSO31K1i527s0VuCa8= =N24Q -----END PGP SIGNATURE-----
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette