Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    
    ...
    open CONF,"myconfig.conf";
    print CONF Dumper($conf);
    close CONF;
    
  2. or download this
    my $VAR1; #you must declare VAR1 from file if you use strict
    open CONF,"myconfig.conf";
    my $conf = eval (join "",<CONF>);
    
    close CONF;