It will not recompile the class each time, perl maintains %INC to record modules loaded.y $class = 'gash'; eval { require "$class.plm" }; die "Oops: $@" if $@; my $obj = $class->new();
In reply to Re: Dynamic Class Loading, Compilation, & Speed
by cdarke
in thread Dynamic Class Loading, Compilation, & Speed
by zerohero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |