App::SimpleScan::Substitution::Line

App::SimpleScan::Substitution::Line is a line with optional fixed variable values.
Download

App::SimpleScan::Substitution::Line Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joe McMahon
  • Publisher web site:
  • http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm

App::SimpleScan::Substitution::Line Tags


App::SimpleScan::Substitution::Line Description

App::SimpleScan::Substitution::Line is a line with optional fixed variable values. App::SimpleScan::Substitution::Line is a line with optional fixed variable values.SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting "". $line->fix('substituite' => 'change'); # what vars are fixed? my @fixed_ones = $line->fixed(); # Forget about now. $line->unfix('substitute'); # Forget all fixed variables. $line->no_fixed # Get the line back as a string. print "$line";App::SimpleScan::Substitution::Line allows us to associate fixed substitution values with a specific string. This allows us to re-substituted the same value if, during string substitution, we find the variable reappearing as the result of substituting some other variable. This eliminates the "cross-product" bug that appeared in some complex nest substitions. Requirements: · Perl


App::SimpleScan::Substitution::Line Related Software