in reply to Re^3: scope of my $x in if statementsin thread scope of my $x in if statements
Yes, that works with subroutine return, and subs that modify their arguments.
sub g { $_[0] = "ikegami++" } ... __END__ cheerful: ikegami++ [download]