Leser: 1
9 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
my $pck =;
my $pckpath = $pck; $pckpath =~ s!::!/!g;
sub callback {
my ($filename) = @_;
my $name = "";
my $basename = Ox::File::basename($filename);
require "$pckpath/Type/$basename";
}
1
2
3
4
5
6
my $name = "";
my $basename = Ox::File::basename($filename, ".pm");
require "$pckpath/Type/$basename.pm";
eval '$name = $'.$pck.'::Type::'.$basename.'::Name';
die "[$name]";
1
2
3
4
5
6
my $name = "";
my $basename = Ox::File::basename($filename, ".pm");
require "$pckpath/Type/$basename.pm";
eval '$name = $'.$pck.'::Type::'.$basename.'::Name';
die "[$name]";
9 Einträge, 1 Seite |