Re: splitting the line correctly

2006-09-10 Thread Xavier Mas i Ramón
A Diumenge 10 Setembre 2006 01:56, Robert Krueger va escriure: > Hi, > I bought 3 books a few days ago on Perl, and things are going well with > one exception. > > An example: > > @line = "this is a very long line word1+word2+word3 and it contines on and > on"; > > The object is to execute a spli

Re: splitting the line correctly

2006-09-09 Thread John W. Krahn
Robert Krueger wrote: > Hi, Hello, > I bought 3 books a few days ago on Perl, and things are going well with > one exception. > > An example: > > @line = "this is a very long line word1+word2+word3 and it contines on and > on"; > > The object is to execute a split using "+" so I end up with w

Re: splitting the line correctly

2006-09-09 Thread Rob Dixon
Robert Krueger wrote: > Hi, > I bought 3 books a few days ago on Perl, and things are going well with > one exception. > > An example: > > @line = "this is a very long line word1+word2+word3 and it contines on and on"; > > The object is to execute a split using "+" so I end up with word1, word2,

splitting the line correctly

2006-09-09 Thread Robert Krueger
Hi, I bought 3 books a few days ago on Perl, and things are going well with one exception. An example: @line = "this is a very long line word1+word2+word3 and it contines on and on"; The object is to execute a split using "+" so I end up with word1, word2, and word3, so I do this: my @line =