Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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 @_ + ; }
I believe that the source code to life is written in Perl :-)

Replies are listed 'Best First'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://973106]
Approved by tobyink
Front-paged by Arunbear
[msh210]: About time... last time I was right was... I don't even remember when.
[shmem]: perl -e 'warn "test$/", ^@^ '
[Eily]: well, at least it's right about warn doing the same thing as die :)
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.
[msh210]: I don't have sendmail (I'm on MS Windows), so does one of you think you can report the bug?
[shmem]: msh210: 'tis about time to tell the sad truth to perl5porters - via perlbug
[msh210]: probably whoever wrote that actually knows the truth
[shmem]: msh210: you can save the perlbug text in a file and send that via your mail agent of choice

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2017-04-24 12:45 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (439 votes). Check out past polls.