in reply to Perl namespace issue driving me nuts!
See Re: Odd number of elements error. Calling $tools->display_add_user your object $tools gets passed into that sub as the first argument.
You want:
sub display_add_user { my $self = shift; my $cgi = shift; my $dbh = shift; ...
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl namespace issue driving me nuts!
by dariusj (Sexton) on Jul 16, 2007 at 12:24 UTC |