wallythewhale
Technical User
Is it okay to do this?
package CC;
...
my $CC = new $CC;
sub new {...
sub add {
my ($self,$file) = @_;
...
sub proc {
my ($self,$file) = @_;
if (!$file) {
my $ret = CC->add($file); }
...
package CC;
...
my $CC = new $CC;
sub new {...
sub add {
my ($self,$file) = @_;
...
sub proc {
my ($self,$file) = @_;
if (!$file) {
my $ret = CC->add($file); }
...