Questions about this topic? Sign up to ask in the talk tab.
Perl/Helpful Libraries/Throughput/Usage/Config
From NetSec
Revision as of 01:46, 19 July 2012 by Chantal21I (Talk | contribs) (moved Perl/Throughput/Usage/Config to Perl/Helpful Libraries/Throughput/Usage/Config)
- A simple config parser
use Throughput::Config qw(parse); my %config = Throughput::parse('config.conf'); |
- The config file should be formatted as:
variable=value # comment
- The %config hash will return as :
$config{variable} |