Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Append lines to csv

by tangent (Parson)
on Jan 08, 2014 at 23:09 UTC ( [id://1069876]=note: print w/replies, xml ) Need Help??


in reply to Append lines to csv

Is there any reason why you can't just use push(). After all, is that not the whole point of tieing a file to an array?
use Tie::Array::CSV; my $filename = 'tied.csv'; tie my @file, 'Tie::Array::CSV', $filename; push(@file,[4,5,6]); untie @file;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1069876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found