Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Perl CGI.PM: Use of uninitialized value $vals

by poj (Abbot)
on Apr 30, 2018 at 09:17 UTC ( [id://1213801]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub STORE {
        my $self = shift;
    ...
        my @vals = index($vals,"\0")!=-1 ? split("\0",$vals) : $vals;
        $self->param(-name=>$tag,-value=>\@vals);
    }
    
  2. or download this
    sub STORE {
        my $self = shift;
    ...
        my @vals = defined($vals) && index($vals,"\0")!=-1 ? split("\0",$v
    +als) : $vals;
        $self->param(-name=>$tag,-value=>\@vals);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found