This is trivial. Store a delayed computation.
%hash = ( key => sub { value() } );⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: Printf in perl / Lazy hash possible?
by diotalevi
in thread Printf in perl / Lazy hash possible?
by EvanCarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |