Help for this page

Select Code to Download


  1. or download this
      * passing scalars as themselves
    
    ...
    
      * passing a "reference to a hash" (which is itself a scalar)
          instead of the hash itself
    
  2. or download this
      sub do_something($my_scalar, $my_arrayref, $my_hashref) {
        my @my_array = @$my_arrayref;
        my %my_hash  = %$my_hashref;
        ### more code here ###
      }