>>>>> "Jenda" == Jenda Krynicky <[EMAIL PROTECTED]> writes:
Jenda> I think the nicest example is
Jenda> use File::Copy;
Jenda> copy $source => $destination;
[edited slightly]
The big problem with using the big arrow there is when you have
constants:
use constant TEMPLATE => '/usr/lib/templates/foo.html';
use File::Copy;
copy TEMPLATE => $destination;
oops! This just tried to copy a file named "TEMPLATE" to
$destination, not the value of the constant! But *this*
would have worked:
copy TEMPLATE, $destination;
So, in general, I actively discourage the use of fatarrow as a funny
comma, unless that use is to explicitly quote the left argument.
Please pass this along.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]