in reply to Re^2: Conditional within Hash definition
in thread Conditional within Hash definition
A couple other examples along these lines:
my ($x, $y, $z) = ( ... ); ... my %weather = ( 'precip' => get_precip_function($x, $y, $z), 'wind_speed' => sub { ... }->($z, $y, $x), ..., );
|
|---|