in reply to Need help understanding variable scope in modules
You could call it via _accessible( $self, $1 ) where you can even replace $self with any single scalar. The reason you get "undefined value" is that _accessible( $1 ) sets @_ to only contain a single value so that $_[1] is undef.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need help understanding variable scope in modules
by Abigail (Deacon) on Jul 11, 2001 at 23:23 UTC | |
by runrig (Abbot) on Jul 11, 2001 at 23:35 UTC | |
by tye (Sage) on Jul 11, 2001 at 23:48 UTC | |
by BrentDax (Hermit) on Jul 12, 2001 at 00:16 UTC |