Re: split delimiters query

2005-02-03 Thread Jay
On Wed, 02 Feb 2005 20:37:54 +, mike <[EMAIL PROTECTED]> wrote: > No the problem was that this ( with the quote in the "right" place) was > giving me what I didnt want. > > this is the code > @value=param(); > shift (@value); > shift (@value); > pop (@value); > print @value; > foreach $value (

Re: split delimiters query

2005-02-02 Thread mike
On Wed, 2005-02-02 at 09:23 -0500, Wiggins d'Anconia wrote: > mike wrote: > > Am I right in thinking that if you double quote the seperator in split > > the seperator is added to the array ie: > > > > @array3=split(/"\t/",$value4); would add \t to the end of @array3 while > > As you have written

Re: split delimiters query

2005-02-02 Thread mike
On Wed, 2005-02-02 at 12:54 -0500, Jay wrote: > On Wed, 02 Feb 2005 12:39:17 +, mike <[EMAIL PROTECTED]> wrote: > > Am I right in thinking that if you double quote the seperator in split > > the seperator is added to the array ie: > > > > @array3=split(/"\t/",$value4); would add \t to the end

Re: split delimiters query

2005-02-02 Thread Jay
On Wed, 02 Feb 2005 12:39:17 +, mike <[EMAIL PROTECTED]> wrote: > Am I right in thinking that if you double quote the seperator in split > the seperator is added to the array ie: > > @array3=split(/"\t/",$value4); would add \t to the end of @array3 while > > @array3=split(/\t/,$value4); would

Re: split delimiters query

2005-02-02 Thread Wiggins d'Anconia
mike wrote: Am I right in thinking that if you double quote the seperator in split the seperator is added to the array ie: @array3=split(/"\t/",$value4); would add \t to the end of @array3 while As you have written it above I get a syntax error: String found where operator expected at ./test.pl lin

split delimiters query

2005-02-02 Thread mike
Am I right in thinking that if you double quote the seperator in split the seperator is added to the array ie: @array3=split(/"\t/",$value4); would add \t to the end of @array3 while @array3=split(/\t/,$value4); would not -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m