Re: Context of hash slices; quotation adverbs

2005-04-19 Thread wolverian
On Mon, Apr 18, 2005 at 04:00:53PM -0700, Larry Wall wrote: %num_of_linesfile = [EMAIL PROTECTED]; : because the Perl 5 way would put a reference to @file in the hash. : Scalar context always makes references now, from what I understand. Interestingly, a stored reference would track

How do I... tie hashes/arrays?

2005-04-19 Thread Ingo Blechschmidt
Hi, quoting an old post from Luke (http://xrl.us/ftet): Ctieing is going to work quite differently, from what I hear. So it might be possible to overload any function to call a special version when your type of array is used. You just have to write all the special versions.

Re: Context of hash slices; quotation adverbs

2005-04-19 Thread Larry Wall
On Tue, Apr 19, 2005 at 02:14:04AM +0300, wolverian wrote: : On Mon, Apr 18, 2005 at 04:00:53PM -0700, Larry Wall wrote: : %num_of_linesfile = [EMAIL PROTECTED]; : : : because the Perl 5 way would put a reference to @file in the hash. : : Scalar context always makes references now, from

Re: statement modifiers for setting variables

2005-04-19 Thread Larry Wall
On Mon, Apr 18, 2005 at 06:01:48PM -0700, Dave Whipp wrote: : The following is legal perl: : : print $a $b $c if ($a,$b,$c)=(1,2,3); : : This prints 1 2 3, but the definitions obviously aren't scoped to the : modified statement. And a Cmy in the modifier is a bit too late. : : Any reason to

Re: How do I... tie hashes/arrays?

2005-04-19 Thread Larry Wall
On Tue, Apr 19, 2005 at 02:02:41PM +, Ingo Blechschmidt wrote: : Hi, : : quoting an old post from Luke (http://xrl.us/ftet): : Ctieing is going to work quite differently, from what I hear. : So it might be possible to overload any function to call a : special version when your

Perl 6 Summary for 2005-04-12 through 2005-04-19

2005-04-19 Thread Matt Fowles
Perl 6 Summary for 2005-04-12 through 2005-04-19 All~ Sadly, a slip of the mouse cause me to delete a partially completed summary, so I am going to push ahead on the rewrite without a witty intro. Feel free to make one up for yourself involving stuffed animals, musicians, and