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);
    }