mantra2006 has asked for the wisdom of the Perl Monks concerning the following question:
use FindBin (); use lib "$FindBin::Bin"; use lib "C:\Testing\ITP"; #Simple.pm"; use Simple; print "Simple.pm => $INC{'Simple.pm'}\n"; # --- OO interface: $cfg = new Simple('app.ini'); # accessing values: $user = $cfg->param('User'); print "\n User Name $user \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Specifying .pm files
by davorg (Chancellor) on Aug 17, 2006 at 10:20 UTC | |
|
Re: Specifying .pm files
by rodion (Chaplain) on Aug 17, 2006 at 11:34 UTC | |
by mantra2006 (Hermit) on Aug 17, 2006 at 12:44 UTC | |
by davorg (Chancellor) on Aug 17, 2006 at 12:50 UTC | |
by imp (Priest) on Aug 17, 2006 at 13:06 UTC | |
by rodion (Chaplain) on Aug 17, 2006 at 20:45 UTC | |
|
Re: Specifying .pm files
by Anonymous Monk on Aug 17, 2006 at 10:36 UTC | |
|
Re: Specifying .pm files
by ides (Deacon) on Aug 17, 2006 at 13:57 UTC | |
|
Re: Specifying .pm files
by mantra2006 (Hermit) on Aug 17, 2006 at 13:40 UTC |