in reply to Re: Proper syntax for using a method as a call back routine?
in thread Proper syntax for using a method as a call back routine?
That isn't going to work. As soon as the method containing the the call to $parser->handler() exits, (or the nearest local scope), then the value assigned to $instance will be forgotten as the global $instance reverts to its former value and whne the _add_link() routine is called back by the parser, $instance could have just about any value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Proper syntax for using a method as a call back routine?
by dws (Chancellor) on Jul 08, 2003 at 03:17 UTC | |
by BrowserUk (Patriarch) on Jul 08, 2003 at 03:35 UTC |