Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!masscomp!ocpt!tsdiag!ticnj!srs From: srs@ticnj.UUCP (Scott Strool) Newsgroups: comp.lang.perl Subject: Re: formatting DB records Keywords: text processing records db split Message-ID: <906@ticnj.UUCP> Date: 11 Feb 91 20:54:58 GMT References: <905@ticnj.UUCP> Organization: IEX Corporation Red Bank, NJ Lines: 15 After further experimentation I have found that the split function is appropriate. The one problem that I have come across is the pattern character. I was using the pipe char |. split seemed to ignore this, actually it returned just one character of the field i.e if the field was SCORE it returned SC. When I changed the delimeter in my file to a colon, the script worked as ecpected. What is wrong with the | character, does it have to be escaped? -- Scott Strool (908) 747-4700 srs@iex.com IEX Corporation 125 Half Mile Rd. Red Bank, NJ 07701