Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 imbibing at the Monastery: (13)
As of 2014-12-19 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (84 votes), past polls