Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: The science fiction writer who most personifies Perl is:

by ww (Archbishop)
on Jul 02, 2010 at 02:49 UTC ( [id://847661]=note: print w/replies, xml ) Need Help??


in reply to Re: The science fiction writer who most personifies Perl is:
in thread The science fiction writer who most personifies Perl is:

Read the book...while out-of-reach of the net.

Typed in the code.

Didn't get a t-shirt; didn't even get the code to pass -c but didn't get any useful info by adding strict, warnings, diagnostics, etc. ad nauseum.

Proofread... repeatedly. To no avail. (Remember: the one-eyed man is king in a world of the blind)

Lo and behold: your wiki ref led me eventually to a Stevenson site where I found this:

13. Hey, the perl script doesn't work! What's the deal?

The production people at the publisher tried valiantly to get the perl script typeset without any errors, but one error did slip in. It is located on the eighth line. Where the book says
$o=~s/.chr((
and so on, it SHOULD say
$o=~s/./chr((
and so on.

And following a few links further, http://www.ciphergoth.org/crypto/solitaire/perl-sol and http://www.ciphergoth.org/crypto/solitaire/c-sol.c

Woot!

Update 20100704: added link to Stevenson's errata in para beginning "Lo and...."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found