Monday, June 25, 2007

hashes of hashes

for my $omg (keys %hoh){
my $wtf = ${${%hoh}{$omg}}{'name'};
print "$omg $wtf\n";
}


._.

<_<

>_>

o_O...

Wait, what?

6 comments:

Mike said...

Lol, thanks for the laugh.

blogagog said...

Hah! Finally a coder who likes perl. I only know perl and c (and some legacy languages), so it's annoying as heck to hear people talk about how lame perl is (preferring Python, or even Minx, whatever that is).

But I don't get it! Did you forget to initiate your god or your hoh?

Fletch said...

I code almost exclusively in perl. I just love pounding out quick and dirty code, and I *love* making my scripts smaller by using shortcuts and piggybacking functions. Never was big on the whole compiled language thing ever since it took me 2 hours to discover I had a } where I should have had a ], and the compiler was no help of course...

Perl is teh awesome. Python is supposed to be perl-like, but nothing will replace my affection for perl. :)

Fletch said...

btw, I hate it most when a new language *cough*ruby*cough* comes out and everyone is so quick to say it's better faster stronger than perl and all perl scripts must be translated immediately.

Yeah, right. When that new-fangled language attains the same level ubiquity perl has, then we'll talk...

Fletch said...

oh yeah, (again) that code works, it's just tough to wrap your head around. :)

blogagog said...

do ($this) || die "in horrific pain\n";

That's the edict I'd lay out to my butlers and maids, if I had butlers and maids. Could that be why I have no butlers or maids?

YES! Ruby is the other one. Don't know it. Never will know it. Could care less. Much less.