Simon Cozens wrote:
>
> On Wed, May 30, 2001 at 06:48:53PM +0100, Simon Cozens wrote:
> > *Nice*, but potentially a bugger to implement.
>
> Of course, 'sub it():lvalue{$_}' gets you *most* of the benefit.
um, no.
foreach(@foods){
# okay, I'll try...
exists %grocery_stock_codes{$_} and buy it
};
I want to buy the code, as listed in the code table, not the food-by-name.
$_ will still be "Granola" when buy($) wants IPC_3435_5252_j
--
David Nicol 816.235.1187 [EMAIL PROTECTED]
DWIM before autovivify unless strict
- Re: 1 until defined(getvalue()); return it; Michael G Schwern
- Re: 1 until defined(getvalue()); return it; John Porter
- Re: 1 until defined(getvalue()); return it; John Porter
- Re: 1 until defined(getvalue()); return it; David L. Nicol
- Re: 1 until defined(getvalue()); return it; David L. Nicol
- Re: 1 until defined(getvalue()); return it; Michael G Schwern
- Re: 1 until defined(getvalue()); return it; Michael G Schwern
- Re: 1 until defined(getvalue()); return it; Simon Cozens
- Re: 1 until defined(getvalue()); return it; John Porter
- Re: 1 until defined(getvalue()); return it; Damian Conway
- Re: 1 until defined(getvalue()); return it; David L. Nicol
- Re: 1 until defined(getvalue()); return it; Simon Cozens
- Re: 1 until defined(getvalue()); return it; Vijay Singh
- RE: 1 until defined(getvalue()); return it; David Grove
