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}
In reply to Re: Perl namespace issue driving me nuts!
by shmem
in thread Perl namespace issue driving me nuts!
by dariusj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |