Access the lines of a disk file via a Perl array
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.
$
pkg install p5-Tie-FileOrigin
devel/p5-Tie-File
Size
110KiB
License
GPLv2+, ART10
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
2 packages