samirpatry has asked for the wisdom of the Perl Monks concerning the following question:
open CONFIGFILE, "config.txt" or die $!; { local $/; $/ = undef; $DATA=<CONFIGFILE>; } my $Config = ACTI::Tiny->new(); $Config = ACTI::Tiny->read_string( $DATA ); our $s = $Config->{_}; *Header::s=*s; *Request::s=*s; *Response::s=*s;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to share a varible of main program to different module???
by shmem (Chancellor) on Sep 04, 2006 at 11:06 UTC | |
|
Re: How to share a varible of main program to different module???
by ForgotPasswordAgain (Vicar) on Sep 04, 2006 at 08:51 UTC |