Acme-Debug
view release on metacpan or search on metacpan
lib/Acme/Debug.pm view on Meta::CPAN
#=item perl -MAcme::Debug -e 'Acme::Debug->new("program")';
#This will parse every line of the files/s given.
#=cut
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;
( run in 2.010 seconds using v1.01-cache-2.11-cpan-de7293f3b23 )