in reply to Re: shorter 1 liner way of doing this
in thread shorter 1 liner way of doing this

smaller code and it's one of perls many strong points and for whatever reason people are obsessed with perl golf and quines and 1 liners and perl poems and ..ect..
  • Comment on Re^2: shorter 1 liner way of doing this

Replies are listed 'Best First'.
Re^3: shorter 1 liner way of doing this
by AnomalousMonk (Archbishop) on Dec 27, 2015 at 22:21 UTC

    You have to program to play Perl golf, etc., but Perl golf, etc., is not programming. It doesn't really matter what you do, just don't do it in the machine room and frighten the hardware.

    Value clarity over concision.


    Give a man a fish:  <%-{-{-{-<

Re^3: shorter 1 liner way of doing this
by Your Mother (Archbishop) on Dec 28, 2015 at 01:05 UTC

    Obsessed? Nay, sir. I despise Perl “poetry” and as Clemens observed golf is a good walk spoiled and quines are for Aussie professors!