Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

5 little blocks of code

by thomas895 (Chaplain)
on May 29, 2012 at 19:54 UTC ( #973106=obfuscated: print w/replies, xml ) Need Help??

5 little blocks of code
Happy as can be.
Along came the IDE
and formatted them into three.

Along came the inter-preter
who didn't like this a bit.
So it went ahead
And put them all back.

On to Perl-Monks this little script went
Aspiring to be famous
For this rhyme that makes no sense!

g(f());sub a{"1722152". "132141301952082092142". "021992121301781992 +122". "061302021951972051992". "12144108";}sub b { length(scalar(shift));} sub c{98;}sub d {3;}sub e{return $_[0]+d(); +}sub f{my $h = b(a());my @i = ();my $j=0;while($j <$h){my $k=sprintf('%d' ,substr(a(),$j,d));push (@i,chr($k- c));$j= +e($j );}return@i;}sub g{abcd( join("",@_)) }sub abcd{ print @_ + ; }
~Thomas~
I believe that the source code to life is written in Perl :-)

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://973106]
Approved by tobyink
Front-paged by Arunbear
help
Chatterbox?
[perldigious]: Quick question, is undef %hash a recommended/good way to delete an entire hash structure from memory? Or sould I be doing it some other way?
[1nickt]: The best way is to scope it tightly so it just goes away when you are finished with it.
[perldigious]: but... but... perldigious is the unvirtuous kind of lazy in this case. :-)
[perldigious]: Just kidding. Thanks 1nickt, I'll go ahead and do it the right way. An extra set of brackets and a little extra indentation isn't too much to ask.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-07-21 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (335 votes). Check out past polls.