![]() |
![]()
| ![]() |
![]()
NAMEPPIx::EditorTools::RenamePackage - Change the package name VERSIONversion 0.21 SYNOPSISmy $munged = PPIx::EditorTools::RenamePackage->new->rename( code => <<'END_CODE', package TestPackage; use strict; BEGIN { $^W = 1; } 1; END_CODE replacement => 'NewPackage' ); my $new_code_as_string = $munged->code; my $package_ppi_element = $munged->element; DESCRIPTIONThis module uses PPI to change the package name of code. METHODS
SEE ALSOThis class inherits from "PPIx::EditorTools". Also see App::EditorTools, Padre, and PPI. AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2017, 2014, 2012 by The Padre development team as listed in Padre.pm.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|