M. Kristall wrote:
John W. Krahn wrote:

As long as you realise that putting a space between the operator name and the
left parenthesis may trigger a warning when warnings are enabled. (And you DO
have warnings enabled, don't you?)


$ perl -le'use warnings; print( 1,2,3,4,5 )'
12345
$ perl -le'use warnings; print ( 1,2,3,4,5 )'
print (...) interpreted as function at -e line 1.
12345

$ perl -le"user warnings; print ( 1,2,3,4,5 );" 12345

$ perl -le"user warnings; print ( 1,2,3,4,5 )"
Can't locate object method "user" via package "warnings" (perhaps you forgot to load "warnings"?) at -e line 1.



John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to