in reply to Re^2: Use of uninitialised value... but it is defined ?!
in thread Use of uninitialised value... but it is defined ?!
Intriguing.
So by the time the BEGIN block runs, perl knows enough to know that there is(will be) a lexical $x, sufficient to be able to assign to it; but not enough to have initialised it.
That's just weird!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Use of uninitialised value... but it is defined ?!
by dave_the_m (Monsignor) on Mar 02, 2016 at 08:37 UTC | |
by BrowserUk (Patriarch) on Mar 02, 2016 at 09:31 UTC | |
|
Re^4: Use of uninitialised value... but it is defined ?!
by Eily (Monsignor) on Mar 02, 2016 at 08:28 UTC | |
|
Re^4: Use of uninitialised value... but it is defined ?!
by Discipulus (Canon) on Mar 02, 2016 at 08:33 UTC |