in reply to
Re^4: Testing for a module's presence
in thread Testing for a module's presence
I understand what you're saying how not every module is available through the ports system. I have found that modules that are available are labeled as p5-MODULE. However, if I install a module through CPAN, using perl -MCPAN -eshell, it still shows up when I run pkg_info, labeled as bsdpan-MODULE. So regardless of whether or not I used the ports, or CPAN, I can still use the power of pkg_info. I don't want to turn this into a flame war though. As the perl slogan goes: there is more than one way to do it.