my $result = "all"; my %button = ( all => "notselected", none => "notselected", ); print "$button{$result}\n"; $button{none} = "selected"; $result = "none"; print "$button{$result}\n";
In reply to Re^2: can't use string as a SCALAR ref while strict refs
by runrig
in thread can't use string as a SCALAR ref while strict refs
by justinNEE
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |