On Fri, Jun 15, 2001 at 01:33:30PM -0700, Greg Meckes ([EMAIL PROTECTED]) wrote: > First : > Your assigning a newline to the "$/" scalar: $/ = "\n"; > Why? Get rid of it. > > Second: > The split: split (/|/, $/); > Should be : split (/\|/, $_); > > Third: > You should escape the pipes in the print statement: > "$date|$time|$name|$street|....etc"; > Should be: |$date\|$time\|$name\|$street\|....etc"; Greg, Your first two pieces of advice were spot on, but I can't see any reason why you'd want to escape pipes in a print statement. Am I missing something obvious? Dave... -- Don't dream it... be it
- Update: Where to begin??!!?? Crystal Gruetzmacher
- Re: Update: Where to begin??!!?? Greg Meckes
- Re: Update: Where to begin??!!?? Dave Cross
- Re: Update: Where to begin??!!?? Greg Meckes
- Re: Update: Where to begin??!!?? Dave Cross
- Re: Update: Where to begin??!!?? Michael Wolfrom
- Re: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Crystal Gruetzmacher
- RE: Update: Where to begin??!!?? Greg Meckes
- Re: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Peter Cornelius
- Re: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Peter Cornelius