On Wed, Apr 04, 2001 at 11:35:58AM -0700, Andy Lim wrote:
> Yeah, I think I shouldn't put my sub-functions at the bottom.
> Oh, there IS another solution.
> Using [* *] instead [- -] or [! !] solves this problem.

There are indeed some issues with [* *] which will be solved in
Embperl 2. I managed to build a fairly large website using
only [* *] already, but you have to be careful with it. For
example it does not re-initialize all variables when you reload
the page and other stuff like that.

> I wonder how other embperl users define subfunctions in the same HTML page
> or Are they all define sub functions in other files????

I do the latter most of the time also because it just works...
for the very rare cases I really need the sub inside the same
file I write it at the top.

Andre

--
 /"\
 \ /
  X  ASCII Ribbon campaign against HTML E-Mail
 / \

PGP signature

Reply via email to