Also, in your if/else statement, if you declare $vxdg inside the if/else like you are doing, it goes out of scope by the time you get out of the if/else block.my $vxdg = exists $vxdg{$node}{$disk} ? $vxdg{$node}{$disk} : '';
In reply to Re: Short form (ternary) if else
by Riales
in thread Short form (ternary) if else
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |