Help for this page

Select Code to Download


  1. or download this
    
    sub determineType 
    ...
       return @$rval if( ref($rval) eq 'ARRAY' );
       return %$rval if( ref($rval) eq 'HASH' );
    }
    
  2. or download this
    sub execSubroutine
    {
    ...
        # Otherwise return a scalar
        return $rval;
    }