Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    #Simply printing $cfg will print its reference, like you asked for.
    #Config::Any returns a hashref(when used with [cpan://Config::Any::INI
    +] which interfaces to [cpan://Config::Tiny]), so you need to access i
    +t like one.
    print $cfg->{password}->{password};