Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gnat (29)

gnat
  (email not shown publicly)

Journal of gnat (29)

Tuesday February 26, 2002
08:37 AM

PHP QC1

[ #3132 ]
Just finished half the PHP QC1. That's the proofread after the copyeditor has been through. Did the conversion to Frame bugger anything up? Did the copyeditor think it should be "P.H.P." (she didn't). Mostly, though, it's occasion to find all the mistakes that weren't caught in the tech review.

Other than the usual stuff you're too close to see when you're writing (variable names wandering during an example, from $addresses to $array and back again), I found two good 'uns. "inheritence" (should be "inheritance"), and a tricky one involving interpolation.

The classic way to explain the need to bracket interpolated variables is:

$n = 12;
print "the ${n}th man"

If you leave out the curlies, you're trying to print $nth. That was the example we had in the book. Only I think the copyeditor changed it to say we were trying to print the $nth variable (i.e., $n in courier, th in roman). Um, no.

Oh the tiny strange things that my life is suddenly filled with :-)

--Nat

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.