Help for this page

Select Code to Download


  1. or download this
    sub some_meth {
      my($self, $source) = @_;
    ...
      );
      # do somethings with %target
    }
    
  2. or download this
    my %target = (
      # initialization
    );
    %target{keys %$source} = values %$source
      if defined $source && ref $source eq 'HASH';