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.
Nice! (Score:2)
Welcome aboard!
I love what you've written here. When you talk about the assignment operators, it reminds me of one operator I love, but don't mention often.
Basically, that's a handy shortcut for rewriting a string on the fly, but only if it has a true value. Otherwise, you have to do something like this in other languages:
It's a silly thing, I know, but there are so many useful constructs like this in Perl that once you get to know them, it can really reduce verbosity and increase comprehension as a result.
Reply to This