Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Text::Vpp 1.17

    Download button

    No screenshots available
    Downloads: 982  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    17 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dominique Dumont | More programs
    Perl Artistic License / FREE
    June 10th, 2008, 13:37 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    text pre-processor | Perl extension | Perl module | text | pre-processor | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM