Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Whitespace in Perl Golf

by ysth (Canon)
on Jan 01, 2007 at 23:05 UTC ( [id://592473]=note: print w/replies, xml ) Need Help??


in reply to Re: Whitespace in Perl Golf
in thread Perl Golf Ethics

such solutions should be rejected. The rules do not say that trailing whitespace doesn't count.
Nor do they specify how scoring is done, other than by giving you a means to calculate your score. How can a score calculated for you then be rejected as a rule violation?

Update: thospel is correct; I looked for such a rule and somehow managed to miss it. So never mind.

Replies are listed 'Best First'.
Re^3: Whitespace in Perl Golf
by thospel (Hermit) on Jan 02, 2007 at 01:22 UTC
    The text part in rule 6 is supposed to be the definition of the score:

    The score for each hole is the total number of bytes you need (smaller is better). If your program is more than one line, you must count the newlines in between as one byte each. The #! line is not counted. If you use options on the #! line, the options themselves are counted, including the leading whitespace, the - and any trailing whitespace (but not the newline)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found