Read/write specific lines? - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Read/write specific lines?

On Friday, December 5, 2014 4:50:59 AM UTC-8, Tuxedo wrote:
Quoted text here. Click to load it

Tie::File is core and, although slow, is another possibility:

tie my @array, 'Tie::File', '/path/to/some/file';
$array[0] = ...;
untie @array;

Charles DeRykus

Site Timeline