Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Merging Two CSV files Based on Two Columns

by Tux (Abbot)
on Sep 08, 2012 at 06:59 UTC ( #992441=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use text::CSV_XS;
    
    ...
    
    # inside the for/while loop
        $csv->print ($fh, [ $usename, $oldvalue, $newvalue ]);