but, please, just use ikegami's suggestionif (do {my $x = f(); $x and g($x)}) { ... }
In reply to Re: scope of my $x in if statements
by FunkyMonk
in thread scope of my $x in if statements
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |