in reply to Printf in perl / Lazy hash possible?
This is trivial. Store a delayed computation.
%hash = ( key => sub { value() } );⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printf in perl / Lazy hash possible?
by EvanCarroll (Chaplain) on Sep 03, 2007 at 07:47 UTC | |
by diotalevi (Canon) on Sep 04, 2007 at 15:26 UTC |