TOC | Index | (Page 25 of 29)| Chapter: Introduction | Gabor Szabo
<< perl -d:T4 d4.pl perl -d:T5 d4.pl >>

1.24 Devel::T5

package Devel::T5;

package DB;

my @subs = qw(factorial);

sub DB {
}

sub sub  {
  $i++;
  if (grep {$sub =~ /$_$/}  @subs) {
     print $i, " $sub(", join(",", @_), ")\n";
  }
  &$sub;
}


1;