Its simple :P use Log::Log4perl / Log::Log4perl::FAQ
Does this make sense ?
Employee::logger_outfile( "/path/Dir" ); ... ##Employee.pm my $outfile ; sub Employee::logger_outfile { my $path = shift; croak "This is not a method" if ref $path or int@_; $outfile = $path; } sub Employee::logger { open ... $outfile ... }
In reply to Re^3: Inheritance without defining the object on inherited module
by Anonymous Monk
in thread Inheritance without defining the object on inherited module
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |