in reply to Re: CGI::App catch and email database errors
in thread CGI::App catch and email database errors

HOw do I do this properly then?
  • Comment on Re^2: CGI::App catch and email database errors

Replies are listed 'Best First'.
Re^3: CGI::App catch and email database errors
by roboticus (Chancellor) on Apr 12, 2010 at 12:22 UTC

    You could try:

    my ($error, $next_arg)=@_; # Grab multiple items at once my $error2 = $_[0]; # Access the item you want my $error3 = shift; # Shift it off the argument list

    ...roboticus

Re^3: CGI::App catch and email database errors
by Anonymous Monk on Apr 12, 2010 at 12:22 UTC
    perlintro
    foo(1,2,3,9); sub foo { my $scalar = @_; my( $one, $two, $three, $four ) = @_; warn $scalar; warn "$one $two $three $four "; } __END__ 4 at - line 6. 1 2 3 9 at - line 7.