You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dominique Blas <db...@blas.net> on 2000/02/28 22:10:29 UTC

Why $row doesn't work with out of package array variables ?

Hi,

Can someone explain why Embperl (embperl_20000208111341.tar.gz) refuses to 
	deploy the array in the case of the latter is out of the package ?

For example.

This works, of course :	
	<table><tr><td>[+ $row +]</td><td>[+ $array[$row] +]</td></tr></table>

This doesn't work (it yields no result) :
	<table><tr><td>[+ $row +]</td><td>[+ $package::array[$row]
+]</td></tr></table>

Why ?


Apache::Session 1.04
Mod_perl 1.2.1

db