Problems? Is your data what you think it is? | |
PerlMonks |
Re: making perl interactive with VIby pizza_milkshake (Monk) |
on Feb 17, 2004 at 21:18 UTC ( [id://329742]=note: print w/replies, xml ) | Need Help?? |
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)"
In Section
Seekers of Perl Wisdom
|
|