Filter::ExtractSource

Captures Perl code after processing by source filters
Download

Filter::ExtractSource Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jon Allen
  • Publisher web site:
  • http://search.cpan.org/~jonallen/XLSperl-0.4/bin/XLSperl

Filter::ExtractSource Tags


Filter::ExtractSource Description

Captures Perl code after processing by source filters Filter::ExtractSource is a Perl module that captures Perl code after processing by source filters.The concept of source filtering allows developers to alter and extend the Perl language with relative ease. One disadvantage however, is that some language extensions can break tools which attempt to parse Perl code, such as editors which perform syntax highlighting.For example, the code use Filter::Indent::HereDoc; my $hello = < < EOT; Hello, World! EOT print $hello;is perfectly valid, but trying to parse it manually (i.e. without using perl) will fail as the EOT here-document terminator will not be found.After processing by Filter::ExtractSource, the code becomes use Filter::Indent::HereDoc; my $hello = < < EOT; Hello, World! EOT print $hello;which can now be correctly parsed.SYNOPSIS perl -c -MFilter::ExtractSource input.pl >output.plWhere input.pl contains Perl code which uses source filters, output.pl will be the code post filtering as passed to the Perl parser. Requirements: · Perl


Filter::ExtractSource Related Software