Perl Challenge: Code Golf [ 2 ]

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 9258 Views - Last Post: 25 September 2012 - 06:59 PM

#16 Abcxyzp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 25-September 12

Re: Perl Challenge: Code Golf [ 2 ]

Posted 25 September 2012 - 06:59 PM

This seems to be a late reply...

#4: 61 non-while space characters (62 including white space).
Spoiler


#3: 60 non-white space characters (62 including white space).
Spoiler


#2: 57 non-white space characters (57 including white space).
Spoiler


#1: 56 non-white space characters (57 including white space).
Spoiler


#0: 53 non-white space characters (53 including white space).
Spoiler

Well, #0 doesn't compile, it's just an imaginary code.

I really wish perl could fully support the bash style range "{@l..1..-1}" though.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2