Help for this page

Select Code to Download


  1. or download this
    sub new {
       my $class = shift;
    ...
       };
       return bless $self, $class;
    }
    
  2. or download this
    $newexp->{_ID} = $#expenses + 1;
    
  3. or download this
    $newexp->{_ID} = scalar @expenses;
    
  4. or download this
    local $Data::Dumper::Indent = 3;
    
  5. or download this
    # open file
    my $file = do {local $/; <REPORT>};
    
  6. or download this
    $self->{$hiddenkey} = shift if @_;