Re: Multi library

2004-05-13 Thread david
[EMAIL PROTECTED] wrote: > my openconf function contains: > > sub openconf { >my $pkg = shift; >my $self = bless([EMAIL PROTECTED],$pkg); >open(... > >return($self); > } > > I have "my @config;" set at the beggining of the module > you have defined @config as a class va

Re: Multi library

2004-05-12 Thread Wiggins d Anconia
Please bottom post > my openconf function contains: > > sub openconf { >my $pkg = shift; >my $self = bless([EMAIL PROTECTED],$pkg); >open(... > >return($self); > } > > I have "my @config;" set at the beggining of the module > As Lee pointed out it would be easier to

Re: Multi library

2004-05-12 Thread JupiterHost.Net
[EMAIL PROTECTED] wrote: my openconf function contains: sub openconf { my $pkg = shift; my $self = bless([EMAIL PROTECTED],$pkg); open(... I don;'t think open(... will work :) Wy not share the whole code and also param() or how can we help :) return($self); } Lee.M

Re: Multi library

2004-05-12 Thread max4o
my openconf function contains: sub openconf { my $pkg = shift; my $self = bless([EMAIL PROTECTED],$pkg); open(... return($self); } I have "my @config;" set at the beggining of the module - This mail is from: <[EMAIL PROTECTED]>

Re: Multi library

2004-05-12 Thread Wiggins d Anconia
> 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"); >

Multi library

2004-05-12 Thread max4o
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->par