This challenge is related to the Perl language. Note that challenges that require the answers to be in a specific language are generally discouraged.

learn more… | top users | synonyms

1
vote
1answer
134 views

Better way to use `split` in Perl? [closed]

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 ...
3
votes
2answers
405 views

Reducing Leibniz perl code in characters

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 ...
21
votes
13answers
2k views

Tips for golfing in Perl?

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 ...
14
votes
5answers
2k views

Just Another Perl Hacker

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.