RE: split() does not work with all characters

2009-06-03 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] > Sent: Tuesday, June 02, 2009 15:29 > To: Beginners Perl > Subject: split() does not work with all characters > > When trying to use split() where the delimiter is passed from > the c

Re: split() does not work with all characters

2009-06-02 Thread Chas. Owens
On Tue, Jun 2, 2009 at 17:29, Tony Esposito wrote: > When trying to use split() where the delimiter is passed from the > command-line ( as seen in stub code that follows ), > the code fails to parse/split input file via some characters (e.g. | ) but it > runs ok for others (e.g. , ). > > Any ide

split() does not work with all characters

2009-06-02 Thread Tony Esposito
When trying to use split() where the delimiter is passed from the command-line ( as seen in stub code that follows ), the code fails to parse/split input file via some characters (e.g. | ) but it runs ok for others (e.g. , ). Any idea what could be causing this? Code:   use vars qw/