Help for this page

Select Code to Download


  1. or download this
    perl -MData::Dumper -e '
      $conf = {
    ...
      open( $fh, ">", "monkConfig.txt" ) or die;
      print $fh Data::Dumper->Dump([$conf],["config"]);
    '
    
  2. or download this
    $config = {
                'TYPE' => 'Ethernet',
    ...
                'IPADDR' => 10.9.0.200,
                'BOOTPROTO' => 'static'
              };
    
  3. or download this
    perl -le 'require "monkConfig.txt";
      print $config->{'TYPE'};
    ...
    
    __output__
    Ethernet