From: Vincent Pit Date: Sun, 1 Sep 2013 17:30:05 +0000 (+0200) Subject: This is 0.08 X-Git-Tag: v0.08^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=396feaa9a226366e793bf9bb046d304fcb4607a2;p=perl%2Fmodules%2FB-RecDeparse.git This is 0.08 --- diff --git a/Changes b/Changes index 8d898bb..2139da8 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ Revision history for B-RecDeparse +0.08 2013-09-01 17:30 UTC + This is a maintenance release. The code contains no functional change. + Satisfied users of version 0.07 can skip this update. + + Doc : POD headings are now properly linkable. + + Doc : Miscellaneous POD tweaks. + 0.07 2013-08-21 21:15 UTC This is a maintenance release. The code contains no functional change. Satisfied users of version 0.06 can skip this update. diff --git a/META.json b/META.json index 4f41525..e20aec6 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Vincent Pit " ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140", + "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921", "license" : [ "perl_5" ], @@ -58,5 +58,5 @@ "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FB-RecDeparse.git" } }, - "version" : "0.07" + "version" : "0.08" } diff --git a/META.yml b/META.yml index 6faf45f..bdfe619 100644 --- a/META.yml +++ b/META.yml @@ -12,7 +12,7 @@ build_requires: configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140' +generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -33,4 +33,4 @@ resources: homepage: http://search.cpan.org/dist/B-RecDeparse/ license: http://dev.perl.org/licenses/ repository: http://git.profvince.com/?p=perl%2Fmodules%2FB-RecDeparse.git -version: 0.07 +version: 0.08 diff --git a/README b/README index a849d95..fb57293 100644 --- a/README +++ b/README @@ -2,15 +2,22 @@ NAME B::RecDeparse - Deparse recursively into subroutines. VERSION - Version 0.07 + Version 0.08 SYNOPSIS - perl -MO=RecDeparse,deparse,[@B__Deparse_opts],level,-1 [ -e '...' | bleh.pl ] + # Deparse recursively a Perl one-liner : + $ perl -MO=RecDeparse,deparse,@B__Deparse_opts,level,-1 -e '...' - # Or as a module : + # Or a complete Perl script : + $ perl -MO=RecDeparse,deparse,@B__Deparse_opts,level,-1 x.pl + + # Or a single code reference : use B::RecDeparse; - my $brd = B::RecDeparse->new(deparse => [ @b__deparse_opts ], level => $level); + my $brd = B::RecDeparse->new( + deparse => \@B__Deparse_opts, + level => $level, + ); my $code = $brd->coderef2text(sub { ... }); DESCRIPTION @@ -22,21 +29,32 @@ DESCRIPTION the two modules. METHODS - "new < deparse => [ @B__Deparse_opts ], level => $level >" + "new" + my $brd = B::RecDeparse->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" - "deparse_sub" - "pp_entersub" - "pp_refgen" - "pp_gv" - Functions and methods from B::Deparse reimplemented by this module. - Never call them directly. + The following functions and methods from B::Deparse are reimplemented by + this module : + + * "compile" + + * "init" + + * "deparse_sub" + + * "pp_entersub" + + * "pp_refgen" + + * "pp_gv" Otherwise, B::RecDeparse inherits all methods from B::Deparse. diff --git a/lib/B/RecDeparse.pm b/lib/B/RecDeparse.pm index 8fd2b54..7c192cb 100644 --- a/lib/B/RecDeparse.pm +++ b/lib/B/RecDeparse.pm @@ -17,11 +17,11 @@ B::RecDeparse - Deparse recursively into subroutines. =head1 VERSION -Version 0.07 +Version 0.08 =cut -our $VERSION = '0.07'; +our $VERSION = '0.08'; =head1 SYNOPSIS