Help for this page

Select Code to Download


  1. or download this
    use SuperSplit;
    
    open (INI, "<file.ini");
    $ini = supersplit( '\n', '\n\s*\n', \*INI);
    
  2. or download this
    map{ 
     $key=shift( @$_ ); 
     ($key)=~ tr/[]//d; 
     $hash->{$key}=[@$_];
    } @$ini;