Dear Folks,

I'm trying to split a line that contains a pipe "|" and I cann't find a way
how to do it. If i put a back slash "\", it doesn't work either. Can
somebody help me how to do it?
My code is :
while ($line = <FILE>) {
      chomp $line;
      @data = split ("\|",$line);
       ..
    }
Thanks
Wil



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


Reply via email to