Update: ... and notwithstanding the, erm, confident reply below, I can now suggest this demo:
unixhost> # case 1 without eval unixhost> perl -ew '$foo = { bar => () };' Name "main::foo" used only once: possible typo at -e line 2. Odd number of elements in hash assignment at -e line 2. unixhost> unixhost> # case 2 - now "protect it" with eval ... unixhost> perl -ew 'eval "$foo = { bar => () };";' unixhost> unixhost> # nothing!
-M
Free your mind
In reply to Re: warnings under the debugger
by Moron
in thread warnings under the debugger
by trwww
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |