At some point, I bumped into an SO question asking how to implement Perl's trivial hash-of-hashes data structure in Java. For those who don't know Perl, the hash value can be a scalar or another ...
Can I assign the values of the array produced by split function, directly to different variables. For Instance I am currently doing this: @c=split ',',<>; So then I need to access the values ...
Copied from http://stackoverflow.com/questions/14684511/reducing-perl-code-in-characters/14694805#14694805 So I had this question in a programming contest about calculating Leibniz formula in the ...
What general tips do you have for golfing in Perl? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Perl (e.g. "remove comments" is not ...
Classic code golf challenge. Write the most obscure Perl program to print "Just another Perl hacker". Here's the Wikipedia article on it. Bonus points if it fits in 3 lines / 70 characters each.