Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: making perl interactive with VI

by pizza_milkshake (Monk)
on Feb 17, 2004 at 21:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://329742]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-07-14 01:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.