Date: | Fri, 6 Dec 2002 03:37:21 -0800 |
From: | Michael G Schwern <schwern [...] pobox.com> |
To: | bug-B-Utils [...] rt.cpan.org |
Subject: | Merging Module::Info's B::Utils. Major bug fixes. |
This merges in Module::Info's branch of B::Utils with 0.04.
- Fixed carp() and croak().
- Fixed opgrep() so it returns ops.
- Cleaned up unnecessarilly complicated logic in opgrep() for
handling scalar vs array ref arguments.
- Fixed kids() to promote any children of null kids to be kids.
So null ops are truly ignored. I think this is the correct
behavior. Its certainly more useful.
- Added first(), last() and other() default methods to avoid
$op->first if $op->can('first')
- Documented the walk* callback
- $B::Utils::file and line now reset themselves completely between
walk* calls.
and tests.
There's still a whole pile of useful stuff in B::Module::Info that might be
useful in B::Utils, but at least now Module::Info won't have to ship its own
version.
Please push this out quickly, the next version of Module::Info is waiting
for it.
--
Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/
Perl Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One
Sometimes you eat the path, sometimes the path eats you.
Message body is not shown because sender requested not to inline it.