Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: making perl interactive with VI

by pizza_milkshake (Monk)
on Feb 17, 2004 at 21:18 UTC ( #329742=note: print w/replies, xml ) Need Help??


in reply to making perl interactive with VI

if you're using vim, check out the 'perldo' (:h perldo) command. something like %perldo s/(\d)/$1x$1/ge will apply the perl code to each line in the range that preceeds perldo, in the case of %, all lines. it's quite handy

perl -e"map print(chr(hex(( q{6f634070617a6d692e7273650a}=~/../g)[hex]))), (q{375542349abb99098106c}=~/./g)"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-10-22 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (230 votes). Check out past polls.

    Notices?