From: Vincent Pit Date: Mon, 28 Jul 2008 21:29:57 +0000 (+0200) Subject: This is 0.02 X-Git-Tag: v0.02^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FB-RecDeparse.git;a=commitdiff_plain;h=204608f5565b265a5cad74172ab1f26da58332d7 This is 0.02 --- diff --git a/Changes b/Changes index c18ddcc..6526548 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ Revision history for B-RecDeparse +0.02 2008-07-28 21:30 UTC + + Chg : Perl 5.8 is now required. + + Doc : POD nits. + + Fix : Empty README. + + Fix : Building on perls with a patchlevel. + + Tst : Skip a few harmless failures on perls older than 5.8.7. + 0.01 2008-07-28 10:35 UTC First version, released on an unsuspecting world. diff --git a/META.yml b/META.yml index 7c4e4d1..f62f8ea 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: B-RecDeparse -version: 0.01 +version: 0.02 abstract: Deparse recursively into subroutines. license: perl author: diff --git a/README b/README index e69de29..dc518b9 100644 --- a/README +++ b/README @@ -0,0 +1,76 @@ +NAME + B::RecDeparse - Deparse recursively into subroutines. + +VERSION + Version 0.02 + +SYNOPSIS + perl -MO=RecDeparse,deparse,[@B__Deparse_opts],level,-1 [ -e '...' | bleh.pl ] + + # Or as a module : + use B::RecDeparse; + + my $brd = B::RecDeparse->new(deparse => [ @b__deparse_opts ], level => $level); + my $code = $brd->coderef2text(sub { ... }); + +DESCRIPTION + This module extends B::Deparse by making you recursively replace + subroutine calls encountered when deparsing. + + Please refer to B::Deparse documentation for what to do and how to do + it. Besides the constructor syntax, everything should work the same for + the two modules. + +METHODS + "new < deparse => [ @B__Deparse_opts ], level => $level >" + The B::RecDeparse object constructor. You can specify the underlying + B::Deparse constructor arguments by passing a string or an array + reference as the value of the "deparse" key. The "level" option expects + an integer that specifies how many levels of recursions are allowed : -1 + means infinite while 0 means none and match B::Deparse behaviour. + + "compile" + "init" + "pp_entersub" + "pp_refgen" + "pp_gv" + Functions and methods from B::Deparse overriden by this module. Never + call them directly. + + Otherwise, B::RecDeparse inherits all methods from B::Deparse. + +EXPORT + An object-oriented module shouldn't export any function, and so does + this one. + +DEPENDENCIES + Carp (standard since perl 5), Config (since perl 5.00307) and B::Deparse + (since perl 5.005). + +AUTHOR + Vincent Pit, "", . + + You can contact me by mail or on #perl @ FreeNode (vincent or + Prof_Vince). + +BUGS + Please report any bugs or feature requests to "bug-b-recdeparse at + rt.cpan.org", or through the web interface at + . I will be + notified, and then you'll automatically be notified of progress on your + bug as I make changes. + +SUPPORT + You can find documentation for this module with the perldoc command. + + perldoc B::RecDeparse + + Tests code coverage report is available at + . + +COPYRIGHT & LICENSE + Copyright 2008 Vincent Pit, all rights reserved. + + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + diff --git a/lib/B/RecDeparse.pm b/lib/B/RecDeparse.pm index 3a8a1ea..37eb150 100644 --- a/lib/B/RecDeparse.pm +++ b/lib/B/RecDeparse.pm @@ -16,11 +16,11 @@ B::RecDeparse - Deparse recursively into subroutines. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; =head1 SYNOPSIS