On Wed, 2004-07-21 at 08:14, Nicholas Clark wrote: > > I wonder if this could be turned into yet another context -- "reverse > > list" context -- causing any returning array to get reversed on the > > stack before being returned, in a lighter way than calling the reverse > > function. Just another idea. > > Based on the number of regression tests that I broke while implementing > this, I don't think that it's a very common scenario, so would be complicating > the general case for something rather specific and very rare. Plus it's unclear > how to make any of it work in a backwards compatible way. > > Nicholas Clark I hope you had fun trying. How impossible is it to find out the size of an Lvalue array? I'm imagining defining the true value of wantarray() function to be a reference to the array that is to be filled by the result. Is that possible?. -- david nicol "People used to be able to read my thoughts, but it doesn't appear to work any more. Should I eat less cheese?" -- Elizabeth WoodsThread Previous | Thread Next