Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: PGA Golf, Round 1

by da (Friar)
on May 24, 2001 at 20:55 UTC ( #82999=note: print w/ replies, xml ) Need Help??


in reply to PGA Golf, Round 1

Hole 2: I'm working under the assumption that 'one liner' strictly means it is executed as one line; and it's OK to specify I'm using csh otherwise I'm sunk. :-) 25 counting the carriage returns:

perl -e'/ / / / goto TPC'
hmm... specifying sh instead of csh, eliminate the / characters, and that's 21.

Please go easy on me, I'm an amateur. Of course, scoring it is vaguely impossible according to the rules, so I don't imagine this is a valid play...

--- -DA
update: took me 5 min., plus 5 min. to try and convince myself it might be valid...


Comment on Re: PGA Golf, Round 1
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-28 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls