Main > Programming > Libraries >

Tie::File 0.96

Tie::File 0.96

Sponsored Links

Tie::File 0.96 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.066 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1232
Date added: 2006-06-12
Publisher: Mark Jason Dominus

Tie::File 0.96 description

Tie::File can access the lines of a disk file via a Perl array.

SYNOPSIS

# This file documents Tie::File version 0.96
use Tie::File;

tie @array, Tie::File, filename or die ...;

$array[13] = blah; # line 13 of the file is now blah
print $array[42]; # display line 42 of the file

$n_recs = @array; # how many records are in the file?
$#array -= 2; # chop two records off the end


for (@array) {
s/PERL/Perl/g; # Replace PERL with Perl everywhere in the file
}

# These are just like regular push, pop, unshift, shift, and splice
# Except that they modify the file in the way you would expect

push @array, new recs...;
my $r1 = pop @array;
unshift @array, new recs...;
my $r2 = shift @array;
@old_recs = splice @array, 3, 7, new recs...;

untie @array; # all finished

Tie::File represents a regular text file as a Perl array. Each element in the array corresponds to a record in the file. The first line of the file is element 0 of the array; the second line is element 1, and so on.

The file is not loaded into memory, so this will work even for gigantic files. Changes to the array are reflected in the file immediately. Lazy people and beginners may now stop reading the manual.

Tie::File 0.96 Screenshot

Advertisements

Tie::File 0.96 Keywords

Bookmark Tie::File 0.96

Hyperlink code:
Link for forum:

Tie::File 0.96 Copyright

WareSeeker periodically updates pricing and software information of Tie::File 0.96 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 Tie::File 0.96 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
Tie::Layers is a Perl module to read and write files pipelined through a stack of subroutine layers. Free Download
Tie::Gzip is a Perl module that can read and write gzip compressed files. Free Download
Geolog is a Perl script that you can use to download all the information from the geocaching Web site geocaching.com. Free Download
STklos is a scheme system. Free Download
Tie::FieldVals is an array tie for a file of enhanced Field:Value data. Free Download
Kenosis is a fully-distributed p2p RPC system built on top of XMLRPC. Free Download
ixlib is a small c++ tools library based upon the standard template library. Free Download
Tie::Google is a Perl module with single-variable access to Google search results. Free Download