On Jul 6, Wil said: > @data = split ("\|",$line);
The double-quoted string "\|" is equal to "|". You have gained nothing with your backslash, because it was used by the double quotes, and never got to the regex engine. | is a regex metacharacter. split() takes a regex as its first argument. Therefore, give it a *regex* with the | backslashed: @data = split /\|/, $line; -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>