On Sun, 2007-09-16 at 12:28 +0200, Ruprecht Helms wrote:
> Hi,
> 
> how can I parse a csv-file where the entries are seperated with  | .
> The scripts later should put them into a mysql-database using dbi.

if it just splitting:

    @data = split( /\|/, $line );

If you forget the backslash it will divide the output for every
character.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to