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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
PBP (Score:1)
I'm not completely reformed yet, but ...
I like the book so well I bought the course for my colleagues.
I like the book so well I bought a second copy to keep at the office.
Bill
# I had a sig when sigs were cool
use Sig;
Re:PBP (Score:1)
However the book is not perfect.
I've been stung by three of Damian's recommendations so far: replacing '' with q{} (without thinking); using 'version.pm' (won't compile on Solaris); using 'Readonly' instead of 'constant' (Readonly won't compile on Solaris).
And I refuse to use '
Re:PBP (Score:2)
While I won't be held responsible for the deficiencies of Solaris (;-), I am very keen to know how replacing '' with q{} stung you.
The usual confusion is that people expect assignments and commas (especially in argument lists) to be of lower precedence than those three boolean connectives. But as long as it encouraged you to think through your decis
Re:PBP (Score:1)
Since I have yet to purchase the book what exactly does replacing " with q{} mean? Are we talking simple assignments like:
Or something totally different?
Re:PBP (Score:1)
Damian recommends replacing empty strings (often typed as '' (singlequote-singlequote)) with q{} so you don't misread it as one doublequote (which is exactly what happened in my previous post).
Reply to This
Parent
Re:PBP (Score:1)
Oh I will get the book. No doubt about that.
And the reasoning for q{} seems sound as well. That will be a re-trainer though. : )