|go ahead... be a heretic|
Re: PGA Golf, Round 1by tadman (Prior)
|on May 25, 2001 at 16:11 UTC||Need Help??|
Hole 1 (16 characters)
Hole 2 (31 characters) perl -e# -e# -e# -e# -egoto+TPC
Hole 3 (46 characters)
If only alphanumeric data will be processed:
If required to support non-alpha, or unusual characters in the input data (requires \Q...\E), then 51 characters:
Hole 4 (24 characters)
Hole 5 (30 characters)
Hole 6 (39 characters)
Corrected hole 4 (returned string, wanted list).
Reduced hole 6 (@x=@_ to @_, used $& instead of memorizing)
Removed first 'version' of hole #5, which didn't handle negative numbers, leaving the longer second version.