in reply to Re: Process and combine two CSV files into one
in thread Process and combine two CSV files into one
I've got the two files combined in an array. If I use Dumper I can see the contents of the array and they are correct. My problem now is how to print them out in a CSV format. This is what I tried:
How can I get each row of the array to print out on a seperate line each?my @row = $dbh->selectall_arrayref("SELECT IP, Domain, ServerName, Day +sUptime, OS, RAM, OSSP, InstallDate, CPUSpeed, CPUCount, CPUType FROM + hosts INNER JOIN info ON hosts.IP = info.IP"); #print Dumper @row; foreach my $data ( @row ) { print("$data"); };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Process and combine two CSV files into one
by Thargor (Scribe) on Aug 09, 2005 at 21:23 UTC | |
by DrAxeman (Scribe) on Aug 09, 2005 at 21:44 UTC | |
by Thargor (Scribe) on Aug 11, 2005 at 16:56 UTC |
In Section
Seekers of Perl Wisdom