My article on Perl's special variables[1] was published on perl.com over the weekend.
I've already had a couple of email from people telling me how useful they've found it. Always nice to know your work is appreciated.
[1] Actually it just covers half a dozen or so variables that control file I/O.
or equivalently,close ARGV if eof;
is included in theclose ARGV if eof(ARGV);
loop.while(<>)
Otherwise excellent review!
The string that separates the elements of an array when expanded in a double quoted string is stored in $". Once again, it's simple to change it to a different value.my @arr = (1, 2, 3);
{
local $" = '+';
print "@arr";
}This code prints 1+2+3".
That final quotation mark shouldn't be there.
Otherwise a very good article.
All the best,
jarich
Re:-l ?
davorg on 2004-06-24T11:06:22
There's a good chance that my next article will be about command line switches.
Re:Great article...
davorg on 2004-06-29T08:15:47
There's no need to be timid. Like most writers I love getting feedback on my work. I'm glad to hear that you found it useful.