Help for this page

Select Code to Download


  1. or download this
    $VAR1 = 'ARRAY(0x182ae14)';
    $VAR2 = undef;
    ...
              'CMD',
              'rm file1'
            ];
    
  2. or download this
    my %better_cfg = ();
    $better_cfg{'DES'}{'Step1'} = "cp file1 file2";
    $better_cfg{'DES'}{'Step2'} = "rm file1";
    $better_cfg{'DES'}{'Step3'} = "vi file2";
    
  3. or download this
    $VAR1 = 'DES';
    $VAR2 = {
    ...
              'Step1' => 'cp file1 file2',
              'Step3' => 'vi file2'
            };
    
  4. or download this
    my $step1 = $better_cfg{'DES'}{'step1'};
    my $step2 = $better_cfg{'DES'}{'step2'};
    my $step3 = $better_cfg{'DES'}{'step3'};