in reply to Re: line ending problem Text::CSV alternative Text::ParseWords?
in thread line ending problem Text::CSV alternative Text::ParseWords?
Thanks for your reply,
thought that the -w would trigger warnings as well. Anyhow I did put use warnings; in my code but no warnings.
guess I'm losing my way a bit.. should it look like this?
Can't use an undefined value as an ARRAY reference at but I'm not sure I put the code in the correct way. Trying to figure this out...
thought that the -w would trigger warnings as well. Anyhow I did put use warnings; in my code but no warnings.
guess I'm losing my way a bit.. should it look like this?
I getmy $row; local $"='|'; print STDERR "<@$row>\n"; while ( my $row = $csv_in->getline($fh_in) ) { $csv_out->print( $fh_out, [ @$row[ 2, 3, 0, 4 ], ] ); } print STDERR "<$row>\n";
Can't use an undefined value as an ARRAY reference at but I'm not sure I put the code in the correct way. Trying to figure this out...
In Section
Seekers of Perl Wisdom