Hi, I'm trying to create library that can open many config files. For examlpe, I have cfg1.conf and cfg2.conf. My lib is getting information from those files and store it into an array. If I do:
my $cfg1 = My::Lib->openconf("cfg1.conf"); my $cfg2 = My::Lib->openconf("cfg2.conf"); print $cfg1->param("someparam"); print $cfg2->param("someparam"); it prints two times the param from second conf file. Any ideas or I wasn't clear enough ?:") Btw sorry for my bad english ------------------------------------- This mail is from: <[EMAIL PROTECTED]> ------------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>