> This works fine, even though technically, if use strict was indeed place,
> it would choke on $var2 not being defined.  How ever, if I use the [- -]
> brackets instead of the [* *] ones, use strict is enforced throughout the
> document.

[* *] are experminetal in 1.3, there are also other problems with them e.g.
that [$ if .. $], doesn't affect [* *] blocks.

The [* *] is compiled brefore any other block, so the [$ var $] doesn't
affects [* *] (only all other blocks). If you really want to have use strict
and [* *] blocks, you have to write

[* use strict ; use vars qw{$___b} ; *]

(You may add more variables to the use vars). This should work .

[* *] works as expected in 2.0b1

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to