Text::VppText::Vpp is a Perl extension for a versatile text pre-processor. | |
Download |
Text::Vpp Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dominique Dumont
- Publisher web site:
Text::Vpp Tags
Text::Vpp Description
Text::Vpp is a Perl extension for a versatile text pre-processor. Text::Vpp is a Perl extension for a versatile text pre-processor.SYNOPSIS use Text::Vpp ; $fin = Text::Vpp-> new('input_file_name') ; $fin->setVar('one_variable_name' => 'value_one', 'another_variable_name' => 'value_two') ; $res = $fin -> substitute ; # or directly $fin -> substitute('file_out') die "Vpp error ",$fin->getErrors,"n" unless $res ; $fout = $fin->getText ; print "Result is : nn",join("n",@$fout) ,"n";This class enables to preprocess a file a bit like cpp.First you create a Vpp object passing the name of the file to process, then you call setvar() to set the variables you need.Finally you call substitute on the Vpp object. Requirements: · Perl
Text::Vpp Related Software