in reply to Re: How does my work with a trailing conditional
in thread How does my work with a trailing conditional

The run-time behavior will assign the value on the RHS of the operator to $string.
The important run-time behaviour of my is to make a note to release the scalar on scope exit. Thus  my $foo if $false means that the var isn't released at the end of the block, making the value still available at the next entry to the block.

Dave.