RE: array/hash manipulation [was :what's with 'with'?]

2001-07-25 Thread Sterin, Ilya
/24/2001 6:03 PM Subject: Re: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya wrote: But now I am trying to figure out, if you are not comparing elements of the array and for example if you need to loop through 3 arrays at the same time, but you need to know, whithin the loop

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-21 Thread jh_lists
Sterin, Ilya [EMAIL PROTECTED] wrote: Just one question, how would merge behave on two different sized arrays. @a = (1..5); @b = (1..10); merge(@a, @b); ##Would return (1,1,2,2,3,3,4,4,5,5,?? Would it stop on the shortest array. Couldn't quite find such explanation in the

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-21 Thread Sterin, Ilya
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 5:50 AM To: Sterin, Ilya; 'raptor '; Perl 6 Language Subject: RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya [EMAIL PROTECTED] wrote: Just one question, how

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread Sterin, Ilya
-Original Message- From: Jeremy Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 8:40 PM To: Sterin, Ilya; 'raptor '; [EMAIL PROTECTED] Subject: Re: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya [EMAIL PROTECTED] wrote: Hmmm. Didn't think about

RE: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread Sterin, Ilya
index { print OK\n if $foo == $bar; } Will print... OK OK OK Ilya -Original Message- From: Eric Roode To: [EMAIL PROTECTED] Sent: 07/20/2001 11:30 AM Subject: Re: array/hash manipulation [was :what's with 'with'?] on Fri Jul 20, Mark REED wrote: I'm sorry, but I fail to see how this is a big

Re: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread John Porter
Sterin, Ilya wrote: Don't really know which would be more helpful, since I first need to find a scenerio where I would use this facility, then what result would I expect once the shortest list runs out. Let us ask the PDL folks. In fact, I'm quite sure this has been done already. -- John

Re: array/hash manipulation [was :what's with 'with'?]

2001-07-20 Thread Jeremy Howard
raptor [EMAIL PROTECTED] wrote: but now I'm looking at these too... http://dev.perl.org/rfc/90.pod http://dev.perl.org/rfc/91.pod http://dev.perl.org/rfc/148.pod so may be what must be the order of passing the arguments and other stuff should be done via these proposed functions. PS. I