in reply to •Re: Re: Runtime instantiation decisions
in thread Runtime instantiation decisions
Now, this seems to work using file spec:(my $file = $class) =~ s^::^/^g; require "$file.pm";
Thanks for the time and tips,my $file = File::Spec->catfile( split /::/, $class ) . ".pm";
|
|---|