Help for this page

Select Code to Download


  1. or download this
    foreach $thing (keys(%INPUT)) {
            if(ref($INPUT{$thing}) eq "ARRAY") { $INPUT{$thing} = join('^'
    +, $$INPUT{$thing}); }
    #       if($#INPUT{$thing}) { $INPUT{$thing} = join('^', $$INPUT{$thin
    +g}); }
    }
    
  2. or download this
    foreach $thing ( keys %INPUT ) 
    {
    ...
    
    # You can also write the above like this:
    $INPUT{$_} = join '^', @{$INPUT{$_}} for grep {"ARRAY" eq ref $INPUT{$
    +_}} keys %INPUT