Thanks Jason,<br><br>I like this suggestion. <br><br>Thanks<br>Jay<br><br><div><span class="gmail_quote">On 2/8/06, <b class="gmail_sendername">Jason Gessner</b> <<a href="mailto:jason@multiply.org">jason@multiply.org</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">you can also just do perldoc -l MODULENAME<br><br>i do this all the time: vim `perldoc -l BLAHBLAH`
<br><br>-jason<br><br>On Feb 8, 2006, at 9:58 AM, tiger peng wrote:<br><br>> I stole Andy's idea and add a functoin into my .kshrc.<br>> function perlch {<br>> pm=$1<br>> dir=$(echo $pm | sed 's/::/\//g')<br>
> perl -M$pm -le "print $pm, ' = ' ,\$INC{'$dir.pm'}"<br>> }<br>><br>> Then I can perlch<br>> $ perlch DBD::Oracle<br>> DBD::Oracle =<br>> /usr/local/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/DBD/
<br>> <a href="http://Oracle.pm">Oracle.pm</a><br>><br>> Thanks Andy,<br>><br>><br>><br>> --- Jay Strauss <<a href="mailto:me@heyjay.com">me@heyjay.com</a>> wrote:<br>><br>>> On Wednesday 08 February 2006 12:25 am, Andy Lester
<br>>> wrote:<br>>>>> Is there a function in Perl analygous to the<br>>> Unix 'which', for<br>>>>> saying where in<br>>>>> the @INC it will find a package?<br>>>><br>
>>> Before it finds it? Not that I know of. But<br>>> after it's loaded, yes,<br>>>> you look in %INC.<br>>>><br>>><br>>> I like your way better. I forgot about %INC.<br>>>
<br>>> Thanks<br>>> Jay<br>>> _______________________________________________<br>>> Chicago-talk mailing list<br>>> <a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br>>> <a href="http://mail.pm.org/mailman/listinfo/chicago-talk">
http://mail.pm.org/mailman/listinfo/chicago-talk</a><br>>><br>><br>> _______________________________________________<br>> Chicago-talk mailing list<br>> <a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org
</a><br>> <a href="http://mail.pm.org/mailman/listinfo/chicago-talk">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br><br>_______________________________________________<br>Chicago-talk mailing list<br><a href="mailto:Chicago-talk@pm.org">
Chicago-talk@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/chicago-talk">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br></blockquote></div><br>