Help for this page

Select Code to Download


  1. or download this
       my @values = f(...);        # simple read,
                                   # @values is a copy
    
  2. or download this
       my %hash = f(...);          # hash is also a copy
       my $value = $hash{'value'};
    
  3. or download this
       my (@v1, @v2) = f(...);
    
  4. or download this
       sub f {
          (...)
    ...
                                    # notation cumbersome
                                    # and avoid references