Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
for a while now i've been using quite a clumsy if then else block:
is there a better way of getting this done? it seems clumsy to me.my $var; if ( condition ) { $var = value1; } else { $var = value2; }
Back to
Seekers of Perl Wisdom