http://www.perlmonks.org?node_id=969287


in reply to Re: Appending to a file.
in thread Appending to a file.

Reading about the tie:file makes some sense. It looks like the array addresses the memory location of the file and it works the same as an array. I don't have any clue what push, new recs...., pop, unshift, shift, or splice do.

Replies are listed 'Best First'.
Re^3: Appending to a file.
by ww (Archbishop) on May 07, 2012 at 23:13 UTC

    Mitigating cluelessness.
    That's what Perl's documentation is there for.

    • push
    • "new recs"? Perhaps you'd better re-read what puzzled you in the first place so you can quote it accurately.
    • pop
    • unshift
    • shift
    • ...and for splice... try Super Search with splice as your argument... or read a primer such as "Learning Perl."