[Pdx-pm] Not a syntax error?

Steve Bonds 9nn24e402 at sneakemail.com
Mon May 2 16:22:10 PDT 2005

On 5/2/05, Michael G Schwern wrote:

> Think of it like this.
>         my $return_from_exit = exit 1;
>         print "This is a line without a semicolon\n". $return_from_exit;
> The arguments to a function are evaluated *before* the function is
> executed.  Thus exit(1) happens before print but since exit ends the
> program the print never happens.

Ah, yes.  This makes sense now.  Thanks for the quick clarifications!

  -- Steve

More information about the Pdx-pm-list mailing list