Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.323.408 Times

Text::Reform 1.11

  Date Added: May 01, 2010  |  Visits: 914

Text::Reform

Report Broken Link
Printer Friendly Version


Product Homepage
Download (102 downloads)



Text::Reform is a Perl module for manual text wrapping and reformatting. SYNOPSIS use Text::Reform; print form $template, $data, $to, $fill, $it, $with; use Text::Reform qw( tag ); print tag B, $enboldened_text; The form sub The form() subroutine may be exported from the module. It takes a series of format (or "picture") strings followed by replacement values, interpolates those values into each picture string, and returns the result. The effect is similar to the inbuilt perl format mechanism, although the field specification syntax is simpler and some of the formatting behaviour is more sophisticated. A picture string consists of sequences of the following characters: <<br /> Left-justified field indicator. A series of two or more sequential <s specify a left-justified field to be filled by a subsequent value. A single < is formatted as the literal character < > Right-justified field indicator. A series of two or more sequential >s specify a right-justified field to be filled by a subsequent value. A single < is formatted as the literal character < <<<>>> Fully-justified field indicator. Field may be of any width, and brackets need not balance, but there must be at least 2 < and 2 >. ^ Centre-justified field indicator. A series of two or more sequential ^s specify a centred field to be filled by a subsequent value. A single ^ is formatted as the literal character < >>>.<<<< A numerically formatted field with the specified number of digits to either side of the decimal place. See "Numerical formatting" below. [ Left-justified block field indicator. Just like a < field, except it repeats as required on subsequent lines. See below. A single [ is formatted as the literal character [ ] Right-justified block field indicator. Just like a > field, except it repeats as required on subsequent lines. See below. A single ] is formatted as the literal character ] [[[]]] Fully-justified block field indicator. Just like a <<<>>> field, except it repeats as required on subsequent lines. See below. Field may be of any width, and brackets need not balance, but there must be at least 2 [ and 2 ]. | Centre-justified block field indicator. Just like a ^ field, except it repeats as required on subsequent lines. See below. A single | is formatted as the literal character | ]]].[[[[ A numerically formatted block field with the specified number of digits to either side of the decimal place. Just like a >>>.<<<< field, except it repeats as required on subsequent lines. See below. ~ A one-character wide block field. Literal escape of next character (e.g. ~ is formatted as ~, not a one character wide block field). Any other character That literal character. Any substitution value which is undef (either explicitly so, or because it is missing) is replaced by an empty string..

Requirements: No special requirements
Platforms: Linux
Keyword: Field Libraries Manual Module Perl Perl Module Programming Text Text Wrapping Textreform Wrapping
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


TEXT::REFORM RELATED
Libraries  -  OpenInteract2::Manual::Widgets 1.99_06
OpenInteract2::Manual::Widgets Perl module contains template widgets in OpenInteract. OpenInteract2 supports using templates as a simple graphical widget. A widget is a common element into which you can just plug in text or parameters to...
931.84 KB  
Libraries  -  GD::Text 0.86
GD::Text is a Perl module with text utilities for use with GD. SYNOPSIS use GD; use GD::Text; my $gd_text = GD::Text->new() or die GD::Text::error(); $gd_text->set_font(funny.ttf, 12) or die $gd_text->error;...
64.51 KB  
Libraries  -  Blatte 0.9.4
Blatte is a Perl module with text macro/markup/template language. SYNOPSIS use Blatte; use Blatte::Builtins; my $perl = &Blatte::Parse(...some Blatte program ...); if (defined($perl)) { my $result = eval $perl; if (defined($result)) {...
31.74 KB  
Modules  -  Per-Bundle Storage 7.x-1.x-de
Per-Bundle Storage (PBS) is a Field API contrib module that stores all values for all limited-value fields in a bundle in a single table row. Per-bundle storage is the analog of pre-Field API CCK's per-content-type storage and thus provides the...
10 KB  
Libraries  -  Text::Kakasi::JP 2.04
Text::Kakasi::JP is a Japanese Perl extension for Text::Kakasi. SYNOPSIS use Text::Kakasi; # functional $res = Text::Kakasi::getopt_argv(kakasi, -ieuc, -w); $str = Text::Kakasi::do_kakasi($japanese_text); # object-oriented $obj =...
22.53 KB  
Modules  -  Text Image Autoinsert 1.0
The Text Image module provides text to image functionalities like automated custom headers.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
 
Modules  -  CodeCitation 1.3.1
Syntax highlighting for ActionScript3, Bash/shell, C#, C++, CSS, Delphi, Diff, Groovy, javascript, Java, JavaFX, Perl, PHP, Plain Text, PowerShell, Python, Ruby, Scala, SQL, Visual Basic, XML, HTML, XSLT.The CodeCitation plugin allows you to...
61.44 KB  
Libraries  -  HTML::Mason::Devel 1.34
HTML::Mason::Devel is a Perl module with Mason Developers Manual. This manual is written for content developers who know HTML and at least a little Perl. The goal is to write, run, and debug Mason components. If you are the webmaster (or...
378.88 KB  
Libraries  -  CIPP 3.0.8
CIPP Perl module contains a Reference Manual to CIPP, the powerful preprocessor language for embedding Perl and SQL in HTML. SYNOPSIS perldoc CIPP::Manual This documentation module is part of the CIPP distribution which is available on CPAN....
143.36 KB  
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB