Revered Monks,
I face the below problem when i use private package.
The error is
Cant find the method Deliv
Actually i am calling this Deliv Package from the main package as below
push @delivs, new Deliv('deliverable ' . $_,$ini);
Also i have written this Deliv Package in the bottom of main package code.
package Deliv;
use vars qw($AUTOLOAD);
sub new {
my $class = shift;
my $self = bless {}, $class;
my ($dev_sec,$cfg) = @_;
$self->{source} = $cfg->val($dev_sec,'source');
$self->{related_job} = $cfg->val($dev_sec,'related_job');
return $self;
}
I believe this is working fine in another code, but here it not. Any idea???
-Prasanna.K