| 1 |
Devel/Refactor version 0.04 |
| 2 |
========================= |
| 3 |
|
| 4 |
The Devel::Refactor module is for code refactoring. Pass it a |
| 5 |
a snippet of Perl code that belongs in its own subroutine as |
| 6 |
well as a name for that sub. It figures out which variables |
| 7 |
need to be passed into the sub, and which variables might be |
| 8 |
passed back. It then produces the sub along with a call to |
| 9 |
the sub. |
| 10 |
|
| 11 |
Included in this module is an example script that pulls the |
| 12 |
snippet of code from the KDE clipboard in Linux and passes |
| 13 |
back the transformed code the same way. |
| 14 |
|
| 15 |
INSTALLATION |
| 16 |
|
| 17 |
To install this module type the following: |
| 18 |
|
| 19 |
perl Makefile.PL |
| 20 |
make |
| 21 |
make test |
| 22 |
make install |
| 23 |
|
| 24 |
DEPENDENCIES |
| 25 |
|
| 26 |
None. |
| 27 |
|
| 28 |
COPYRIGHT AND LICENCE |
| 29 |
|
| 30 |
|
| 31 |
Copyright (C) 2005 Scott Sotka |
| 32 |
|
| 33 |
This library is free software; you can redistribute it and/or modify |
| 34 |
it under the same terms as Perl itself. |
| 35 |
|