Acme-Debug
view release on metacpan or search on metacpan
lib/Acme/Debug.pm view on Meta::CPAN
sub new {
my $proto = shift;
my $class = ref($proto) ? ref($proto) : $proto;
my $self = {};
bless($self, $class);
foreach my $f (@_) {
next unless -f $f;
my $l = 0;
if (open(FH, "< $f")) {
map { DB::DB($f, $l, $_), $l++ } (<FH>);
} else {
die("unable to open file $f! $!\n");
}
}
return $self;
}
1;
package DB;
( run in 0.757 second using v1.01-cache-2.11-cpan-49f99fa48dc )