Text::Refer 1.106
Sponsored Links
Text::Refer 1.106 Ranking & Summary
File size:
0.031 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
796
Date added:
2007-08-22
Publisher:
Eryq
Text::Refer 1.106 description
Text::Refer can parse Unix "refer" files.
SYNOPSIS
Pull in the module:
use Text::Refer;
Parse a refer stream from a filehandle:
while ($ref = input Text::Refer *FH) {
# ...do stuff with $ref...
}
defined($ref) or die "error parsing input";
Same, but using a parser object for more control:
# Create a new parser:
$parser = new Text::Refer::Parser LeadWhite=>KEEP;
# Parse:
while ($ref = $parser->input(*FH)) {
# ...do stuff with $ref...
}
defined($ref) or die "error parsing input";
Manipulating reference objects, using high-level methods:
# Get the title, author, etc.:
$title = $ref->title;
@authors = $ref->author; # list context
$lastAuthor = $ref->author; # scalar context
# Set the title and authors:
$ref->title("Cyberiad");
$ref->author(["S. Trurl", "C. Klapaucius"]); # arrayref for >1 value!
# Delete the abstract:
$ref->abstract(undef);
Same, using low-level methods:
# Get the title, author, etc.:
$title = $ref->get(T);
@authors = $ref->get(A); # list context
$lastAuthor = $ref->get(A); # scalar context
# Set the title and authors:
$ref->set(T, "Cyberiad");
$ref->set(A, "S. Trurl", "C. Klapaucius");
# Delete the abstract:
$ref->set(X); # sets to empty array of values
Output:
print $ref->as_string;
SYNOPSIS
Pull in the module:
use Text::Refer;
Parse a refer stream from a filehandle:
while ($ref = input Text::Refer *FH) {
# ...do stuff with $ref...
}
defined($ref) or die "error parsing input";
Same, but using a parser object for more control:
# Create a new parser:
$parser = new Text::Refer::Parser LeadWhite=>KEEP;
# Parse:
while ($ref = $parser->input(*FH)) {
# ...do stuff with $ref...
}
defined($ref) or die "error parsing input";
Manipulating reference objects, using high-level methods:
# Get the title, author, etc.:
$title = $ref->title;
@authors = $ref->author; # list context
$lastAuthor = $ref->author; # scalar context
# Set the title and authors:
$ref->title("Cyberiad");
$ref->author(["S. Trurl", "C. Klapaucius"]); # arrayref for >1 value!
# Delete the abstract:
$ref->abstract(undef);
Same, using low-level methods:
# Get the title, author, etc.:
$title = $ref->get(T);
@authors = $ref->get(A); # list context
$lastAuthor = $ref->get(A); # scalar context
# Set the title and authors:
$ref->set(T, "Cyberiad");
$ref->set(A, "S. Trurl", "C. Klapaucius");
# Delete the abstract:
$ref->set(X); # sets to empty array of values
Output:
print $ref->as_string;
Text::Refer 1.106 Screenshot
Text::Refer 1.106 Keywords
Refer 1.106
title
ref
refer
author
parse
Unix
Text::Refer
TextRefer
Text::Refer 1.106
Libraries
Programming
Bookmark Text::Refer 1.106
Text::Refer 1.106 Copyright
WareSeeker periodically updates pricing and software information of Text::Refer 1.106 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::Refer 1.106 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Parse::Nibbler is Perl module to parse huge files using grammars written in pure perl. Free Download
Tk::Text::Viewer is a text widget that can display text files under TK. Free Download
Text::Templar is a document-generation object class. Free Download
Text::LooseCSV is a highly forgiving variable length record text parser; compare to MS Excel. Free Download
Newsbeuter is an RSS feed reader designed to be used on text terminals on Unix and Unix-like systems. Free Download
GuitarTeX is a tool for guitarists who want to print good looking and easy to play song sheets. Free Download
Kismet Parse project can be used after kismet has sniffed 802.11 traffic and produced .network files. Free Download
Data::TreeDumper is an improved replacement for Data::Dumper. Free Download
Latest Software
Popular Software
Favourite Software