Your style choice causes the line to be parsed differently. That style choice used to break even more things but it was determined that "we" should try to support it even though it is generally not liked for use with Perl. Unless you really enjoy finding bugs and quirks in the Perl parser, you should probably just avoid using that particular style. - tye (but my friends call me "Tye")#!/usr/bin/perl -w print bareword ("parens"); print bareword( "parens" ); __END__ Unquoted string "bareword" may clash with future reserved word at line 3. Filehandle main::bareword never opened at line 3. Undefined subroutine &main::bareword called at line 4.
In reply to (tye)Re2: 'print' puzzle
by tye
in thread 'print' puzzle
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |