in reply to RE: RE: Re: Can perl do...?
in thread Can perl do...?

It does one thing nashdj alluded to. As the last statement in a block, the resultant value of the block is the value in the variable.

For example, in the Everything source they'll occasionally have a subroutine that does something like:

sub do_thisorthat { my ($text, $op) = shift; my $code = get_op($op); $code->$text; # manipulate text $text; }