Devel-ModuleBreaker
view release on metacpan or search on metacpan
lib/Devel/FileBreaker.pm view on Meta::CPAN
3334353637383940414243444546474849505152This module was inspired by a
=head1 USAGE
To use this module, pass this command-line argument to C<perl>
-d:FileBreaker=pattern[,pattern2[,...]]
where C<pattern>, C<pattern2>, etc. are any valid perl regular expressions.
In the L<< C<CHECK> phase|perlmod/"BEGIN,-UNITCHECK,-CHECK,-INIT-and-END" >>
of the program, a breakpoint will be set at the start of any subroutine
defined in a file name (given by the values of
L<< C<%DB::sub>|DB/"%DB::sub" >>) that matches one of the given regular expressions.
This includes any anonymous subroutines defined in the files
that are known at compile time.
=head2 EXAMPLES
=over 4
lib/Devel/ModuleBreaker.pm view on Meta::CPAN
767778798081828384858687888990919293949596
PERL5DBX=
'BEGIN{require "myperl5db.pl"}'
perl -d:ModuleBreaker=Module1 myscript.pl
=head1 USAGE
To use this module, pass this command-line argument to C<perl>
-d:ModuleBreaker=pattern[,pattern2[,...]]
where C<pattern>, C<pattern2>, etc. are any valid perl regular expressions.
In the L<< C<CHECK> phase|perlmod/"BEGIN,-UNITCHECK,-CHECK,-INIT-and-END" >>
of the program, a breakpoint will be set at the start of any subroutine
whose fully qualified subroutine name (given by
L<< C<%DB::sub>|DB/"%DB::sub" >>) matches one of the given regular expressions.
This includes anonymous subroutines that are known at compile time.
=head2 EXAMPLES
=over 4
=item * Set a breakpoint in all subs just in module C<Floop::Blert>:
lib/Devel/SubBreaker.pm view on Meta::CPAN
727374757677787980818283848586878889909192This module was inspired by a
=head1 USAGE
To use this module, pass this command-line argument to C<perl>
-d:SubBreaker=pattern[,pattern2[,...]]
where C<pattern>, C<pattern2>, etc. are any valid perl regular expressions.
In the L<< C<CHECK> phase|perlmod/"BEGIN,-UNITCHECK,-CHECK,-INIT-and-END" >>
of the program, a breakpoint will be set at the start of any subroutine
whose fully qualified subroutine name (given by
L<< C<%DB::sub>|DB/"%DB::sub" >>) matches one of the given regular expressions.
This includes anonymous subroutines that are known at compile time.
=head2 EXAMPLES
=over 4
=item * Set a breakpoint in all subs in module C<Floop::Blert> and all
( run in 0.290 second using v1.01-cache-2.11-cpan-bb97c1e446a )