Help for this page

Select Code to Download


  1. or download this
    while (<LOG>) {
        $alarm_details{ $1 } = $2 if /^(.*)=(.*)$/;
    }
    
  2. or download this
    {
        open my $fh, '>', 'hash.i' or die $!;
        print $fh Dumper(\@alarm_details);
    }
    
  3. or download this
    my $alarm_details_ref = do '/path/to/hash.i';
    
  4. or download this
    my @old_alarm_details = @{do '/path/to/hash.i'};