in reply to warnings under the debugger
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: warnings under the debugger
by almut (Canon) on Mar 08, 2007 at 16:38 UTC | |
|
Re^2: warnings under the debugger
by Moron (Curate) on Mar 08, 2007 at 16:55 UTC | |
by Anno (Deacon) on Mar 08, 2007 at 21:14 UTC | |
by Moron (Curate) on Mar 12, 2007 at 14:14 UTC | |
|
Re^2: warnings under the debugger
by Anno (Deacon) on Mar 08, 2007 at 16:39 UTC | |
|
Re^2: warnings under the debugger
by Anno (Deacon) on Mar 08, 2007 at 14:40 UTC |