First, I imagined :
Text::Rewrite
Then
Inline::Rewrite
The language makes you able to define rules, and join that rules on a function you can call from Perl code. The rules map regular expressions on other regular expressions.
Thanks for any idea. Alberto
-- Alberto Simões - Departamento de Informática - Universidade do Minho ,,__ .. .. / o._) .---. /--'/--\ \-'|| .----. .' '. / \_/ / | .' '..' '-. .'\ \__\ __.'.' .' ì-._ )\ | )\ | _.' // \\ // \\ ||_ \\|_ \\_ Perl Monger mrf '--' '--'' '--' www.perl-hackers.net