BUU has asked for the wisdom of the Perl Monks concerning the following question:
Opposed to:>perl -e"$x[-1]->meth" Modification of non-creatable array value attempted, subscript -1 at - +e line 1.
Opinions?>perl -e"undef->meth" Can't call method "meth" on an undefined value at -e line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Negative array subscript method call bug?
by shemp (Deacon) on Aug 07, 2004 at 02:02 UTC | |
|
Re: Negative array subscript method call bug?
by davido (Cardinal) on Aug 07, 2004 at 04:38 UTC | |
by BUU (Prior) on Aug 07, 2004 at 10:00 UTC | |
|
Re: Negative array subscript method call bug?
by hossman (Prior) on Aug 07, 2004 at 17:34 UTC | |
by BUU (Prior) on Aug 07, 2004 at 19:20 UTC | |
by hossman (Prior) on Aug 08, 2004 at 05:54 UTC | |
by ysth (Canon) on Aug 08, 2004 at 07:39 UTC | |
by hossman (Prior) on Aug 08, 2004 at 08:09 UTC | |
| |
by BUU (Prior) on Aug 08, 2004 at 06:21 UTC | |
by BrowserUk (Patriarch) on Aug 08, 2004 at 07:27 UTC | |
|