Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Converter

by b-funk (Sexton)
on Dec 11, 2003 at 03:55 UTC ( #313964=obfuscated: print w/ replies, xml ) Need Help??

It's actually somewhat robust...sort of. It could be shorter, but at the cost of an increase in clarity (in my opinion).
#!/usr/bin/perl -lp $?*=!$$?%,:$s;s.[g-z]|\W..gi;$;=(chomp,length);for(split//){s} (\w)}\U$1}gx;$_=+(ord)-55if(ord>$=);$?+=(16**--$;)*$_}s;$_;$?;
Brandan L.

Comment on Converter
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://313964]
Approved by Mr. Muskrat
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-09-21 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls