in reply to CGI::Application and subroutines
as was pointed out earlier, you're throwing away the error message. If you want to show "here1:", try:
sub save_subsrbr { my @errors = qw(incorrect wrong); if (@errors) { my $err = errorhandler (\@errors); return "$err, here2: " . Dumper(@errors); } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: CGI::Application and subroutines
by bradcathey (Prior) on Dec 11, 2005 at 18:37 UTC |
In Section
Seekers of Perl Wisdom