in reply to Re: runtime eval() and constants
in thread runtime eval() and constants
It also matters for filehandles:$ perl -wce 'require foo' -e syntax OK $ perl -wce 'package foo' -e syntax OK $ perl -wce 'foo -> method' Unquoted string "foo" may clash with future reserved word at -e line 1 +. -e syntax OK $ perl -wce 'Foo -> method' -e syntax OK
$ perl -wce 'print Foo' Name "main::Foo" used only once: possible typo at -e line 1. -e syntax OK $ perl -wce 'print foo' Unquoted string "foo" may clash with future reserved word at -e line 1 +. Name "main::foo" used only once: possible typo at -e line 1. -e syntax OK
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: runtime eval() and constants
by ysth (Canon) on Dec 08, 2003 at 17:48 UTC |