summaryrefslogtreecommitdiff
path: root/jpl/JPL/Class.pm
blob: 1bc97688a8e8d6953ccec18fa5848e411a5a57f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package JPL::Class;
use JPL::AutoLoader ();

sub DESTROY {}

sub import {
    my $class = shift;
    foreach $class (@_) {
	*{$class . "::AUTOLOAD"} = *JPL::AutoLoader::AUTOLOAD;
	*{$class . "::DESTROY"} = \&DESTROY;
    }
}
1;