Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Perl losing, unfairly

by etcshadow (Priest)
on Jun 15, 2004 at 20:17 UTC ( #367041=note: print w/ replies, xml ) Need Help??

in reply to Re: Perl losing, unfairly
in thread Perl losing, unfairly

Really, it's combining bash and perl that is great fun. for example:

[me@host]$ more `which whichpm` #!/bin/sh perl "-M$1" -le '$_=shift; s|::|/|g; print $INC{"$"}' "$1" [me@host]$
Writing 'whichpm' in perl alone would take a fair bit more space.

And everyone knows that I love perl command line switches :-D

------------ :Wq Not an editor command: Wq

Comment on Re^2: Perl losing, unfairly
Select or Download Code
Re^3: Perl losing, unfairly
by blakem (Monsignor) on Jun 16, 2004 at 08:33 UTC
    Or just: perldoc -l
    $ alias whichpm='perldoc -l' $ whichpm HTML::Template /usr/lib/perl5/site_perl/5.8.0/HTML/


      Nice... never noticed that. Of course, aliasing it is still a mix of perl and shell, which was my point :-D
      ------------ :Wq Not an editor command: Wq

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://367041]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2015-03-07 02:45 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (183 votes), past polls