in reply to agregating columns in several csv files

You need readline, not glob :)
C:\>perl -MO=Deparse,-p -e"while (<{$FH[0]}>){print} use File::Glob (); while (defined(($_ = glob((('{' . $FH[0]) . '}'))))) { print($_); } -e syntax OK C:\>perl -MO=Deparse,-p -e"while(readline $FH[0]){print} while (defined(($_ = readline($FH[0])))) { print($_); } -e syntax OK

Replies are listed 'Best First'.
Re^2: agregating columns in several csv files
by Utilitarian (Vicar) on Jun 05, 2009 at 08:09 UTC
    Muy gracias, Thanks, for the advice, I was doing my nut on this one as I didn't see where the error was arising.