On Aug 1, 2006, at 11:48 PM, Michael Glaesemann wrote:

On Aug 2, 2006, at 12:35 , Sherm Pendley wrote:

You can pass multiple file names to otool, so you can actually get a quick list of everything all your modules are linked against like this:

find /Library/Perl/5.8.6 -name '*.bundle' -print0 | xargs -0 otool -L

I can imagine I'll find that useful in future debugging. Thanks again for your help. I learned quite a bit today!

One more one-liner before bed. :-)

find /Library/Perl/5.8.6 -name '*.bundle' -print0 | xargs -0 otool -L | perl -n -e 'print if (m%^/Library% || %m/opt/local/lib%)'

This will list all of your CPAN modules that have a .bundle that's linked to something from /opt/local/lib.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply via email to