Re: [nice2haveit]: transpose function

2001-07-25 Thread Jeremy Howard
David L. Nicol <[EMAIL PROTECTED]> wrote: > Yes, exactly. I would like to have a transpose operator, which > will work on a list of hash refs, so this: > > $solids = [1..7]; > $stripes = [9..15]; > foreach (transpose($solids,$stripes)); > print "the $_->[0] ball is the same color as the $_->[1]\

Re: as long as we are discussing 'nice to have's...

2001-07-25 Thread Bryan C. Warnock
On Monday 23 July 2001 14:05, Dave Storrs wrote: > No, I do not mean something like Devel::DProf; that is a > module. I mean something that is in the core binary, the same way that > the perl debugger is in the core binary. Except that the perl debugger is not in the perl binary. There

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

2001-07-25 Thread Sterin, Ilya
Yes, a what you described would work just fine, but I am wondering if just a loop control variable that can be possibly set at the begining of the loop which would not necessarily exit the loop, but rather yield kind of a true or false. for ($a, $b, $c) (@A, @B, @C) : @B ### This would assign a

RE: aliasing a value [...]

2001-07-25 Thread Sterin, Ilya
\%foo = \%bar is fine with me, it's the "is alias" I was a little worried about. Ilya -Original Message- From: David L. Nicol To: Sterin, Ilya Cc: 'Davíð Helgason '; '[EMAIL PROTECTED] '; 'John Porter ' Sent: 07/24/2001 5:45 PM Subject: Re: aliasing a value [...] "Sterin, Ilya" wrote: >

freezing, thawing, cloning etc...

2001-07-25 Thread raptor
hi, I just wanted to ask, 'cause i've not seen info on this anywhere does functionality like those of Storable/Data::Dumper be available in the perl-core ( i mean runtime ) ... thanx = iVAN [EMAIL PROTECTED] =

Re:aliasing a value [...]

2001-07-25 Thread raptor
I'm ok with both : alias (%foo, %bar); AND my \%foo = \%bar; the first variant look better to me (I mean it is easy to spot when u are reading the code), but I also expected as U the second to work in Perl5 and was very dissapointed to see that it doesn't work.:"( The keyword "alias" on the oth