#!/usr/bin/perl package PP4; our $VERSION = '1.001'; =head1 NAME B ( =perl power for (anything) ) -- utilize perl power for anything =head1 SYNOPSIS pp4 [-f] [Option] [PerlEqFile] Options -d DIR REG:VAR:EQ : Read value from DIR with regular expression(REG) match and assign EQ to VAR -e Statement : execute perl Statement -f : Not read initialize file -g Pattern FileName : Read equation from pattern matched lines -P VAR : Print VAR in perl asignment equation format -p VAR : Print value of VAR -S FileName : Output File after substitution with perl vars -s Text : Output Text after substitution with perl vars -u : Usage PerlEqFile PerlEqFile contaions perl statements or equations to storage data to perl var. =head1 DESCRIPTION B is simple and useful utility to utilize power of perl for anything. You can simply use perl statements to define value of data in input file to B (the file is called as B). And values of perl variables could be embedded to output with the feature of B given through -S or -s option. With these features of B, you are free from worrying about data file format and writting data handling program. You only need to decide the value name. All powerful features of perl can be used with B, because B simply evals some inputs as perl statements. It means that you can use more complex structured data such as array of assoc array eg. C<$Array[2]{NAME}> for input data. Now you dont need to design complex format for input even when your input data is complex. =head1 Useful Features =head2 Order of execution Commands are given as options to B. B executes them in specified order as simular as B utility in unix system. =head2 Data store and Generate output B uses perl variables as data storage. Data could be given in B or as argument of some B