Help for this page

Select Code to Download


  1. or download this
       my $ref = &subroutine( $fee, $fie, $foo, $fum );
            
    ...
          ...
          return (\@ref);
       }
    
  2. or download this
       print Dumper(@$ref[0], @$ref[1], @$ref[2], @$ref[3]);
       
    ...
          $VAR2='bbbbbbb';
          $VAR3='ccccccc';
          $VAR4='ddddddd';
    
  3. or download this
       my @ref = qw( aaaaaaa bbbbbbb cccccccc ddddddd );
       $sth->execute ( $ref[0], $ref[1], $ref[2], $ref[3] );
    
  4. or download this
       my @array = ( @$ref[0], @$ref[1], @$ref[2], @$ref[3] );
       $sth->execute ($array[0], $array[1], $array[2], $array[3]);