Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- POSTing from a perl script to web server
July 8, 2005, 8:26 am
rate this thread
Re: POSTing from a perl script to web server
There is an even further restriction (from perldata.pod):
It is often more readable to use the C<< => >> operator between key/value
pairs. The C<< => >> operator is mostly just a more visually distinctive
synonym for a comma, but it also arranges for its left-hand operand to be
interpreted as a string--if it's a bareword that would be a legal identifier.
So, => will autoquote its left operand when that operand matches:
If you had said "can be thought of" instead of "defined as", you
would have been OK. :-)
From perldata.pod again:
A word that has no other interpretation in the grammar will
be treated as if it were a quoted string. These are known as
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas
- » FAQ 3.20 How can I hide the source for my Perl program?
- — Previous thread in » PERL Discussions