perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Carr <ga...@openfusion.com.au>
Subject Re: pwd is '/' ???
Date Thu, 27 May 2004 22:45:02 GMT
On Thu, May 27, 2004 at 09:16:48PM +0000, Ed Grimm wrote:
> On Thu, 27 May 2004, Hall, Philippe wrote:
> > Another thing I notice (but presumably unrelated): I can't have more
> > than one statement in a [+ +] block any more... is that right?  I get
> > a syntax error.
> 
> That is correct.
> 
> Apparently, the intention of [+ +] blocks is simple output; there were
> some issues that were complicated by having complex statements, so
> complex statements were disabled.  If you want to have a complex
> statement, put it in a perl subroutine.

Or just wrap it in a do {}.

-G


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message