Well, it may not be necessary in that context, but I always escape them as they've 
sometimes
caused headaches for me in the past. 


Greg
--- Dave Cross <[EMAIL PROTECTED]> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Reply via email to