Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Private Utilities

by cees (Curate)
on Dec 01, 2005 at 14:06 UTC ( #513276=note: print w/replies, xml ) Need Help??


in reply to Private Utilities

Here is a dirt simple one that just loads up the source of a perl module in vi. It is a shell script, but if you really wanted to, could be re-written in perl...

#!/bin/sh DOC=`perldoc -l $1` if [ -n "$DOC" ] && [ -f "$DOC" ]; then vim $DOC fi

I got tired of writing vi `perldoc -l <module-name>`, and thought pvi <module-name> saved me some key strokes.

Cheers, Cees

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://513276]
help
Chatterbox?
[tye]: I'm not using SELinux and it certainly appears to disagree with you. shrug
[tye]: Since you brought up /proc, oiskuu, I didn't see you respond to my suggestion of 'loginuid'. Does your /proc not have such?
[oiskuu]: Hm. that depends on kernel compiled with CONFIG_AUDITSYSCAL L

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-06-23 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.