Main > Programming > Libraries >

File::Data 1.12

File::Data 1.12

Sponsored Links

File::Data 1.12 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.013 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 926
Date added: 2007-04-26
Publisher: Richard Foley

File::Data 1.12 description

File::Data is a Perl module as a interface to file data.

Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface.

Note that the file needs to exist prior to using this module!

See new()

SYNOPSIS

use strict;

use File::Data;

my $o_dat = File::Data->new(./t/example);

$o_dat->write("complete file contentsn");

$o_dat->prepend("first linen"); # line 0

$o_dat->append("original second (last) linen");

$o_dat->insert(2, "new second linen"); # inc. zero!

$o_dat->replace(line, LINE);

print $o_dat->READ;

Or, perhaps more seriously :-}

my $o_sgm = File::Data->new(./sgmlfile);

print "new SGML data: ".$o_sgm->REPLACE(
s*((?s).*)s* ,
qq| key="val" |,
) if $o_sgm;

See METHODS and EXAMPLES.

IMPORTANT

lowercase method calls return the object itself, so you can chain calls.

my $o_obj = $o_dat->read; # ! <= object !

UPPERCASE method calls return the data relevant to the operation.

my @data = $o_dat->READ; # ! <= data !

While this may occasionally be frustrating, using the principle of least surprise, it is at least consistent.

File::Data 1.12 Screenshot

Advertisements

File::Data 1.12 Keywords

Bookmark File::Data 1.12

Hyperlink code:
Link for forum:

File::Data 1.12 Copyright

WareSeeker periodically updates pricing and software information of File::Data 1.12 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 File::Data 1.12 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges. Free Download
AnyData is a Perl module that allows easy access to data in many formats. Free Download
Guile is a Perl interface to the Guile Scheme interpreter. Free Download
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. Free Download
File::lockf is a Perl module interface to the lockf system call. Free Download
Tami.D provides the server module of a client-server interface to mpg123. Free Download
HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables. Free Download
XML::Records is a Perl module for perlish record-oriented interface to XML. Free Download