Help for this page

Select Code to Download


  1. or download this
    # config.txt
    
    name = foo
    name2 = foo2
    ...
    
  2. or download this
    # config.pl
    open(FILEHANDLE, "config.txt");
    ...
      $line =~ /^([^=]+)=(.*)/;
      $values{$1} = $2;
    }