On Sun, Jul 28, 2002 at 03:09:16AM -0400, Justin M. Harrison wrote:
> Could anybody clarify the difference between [! !] and [- -] for me?

<snip>

> What makes [! whatever !] so different from [- whatever -]? When is [-
> whatever -] ever going to be executed twice?

[- whatever -] gets executed every time the page is loaded/reloaded.
[! whatever !] is executed exactly once, the very first time that page 
is hit; thereafter it's effectively ignored because it's assumed
whatever you've done there (like defining a subroutine or doing a 'use')
is persistent. Does that help or confuse? :-)

Cheers,
Gavin

-- 
Fashion is a variable, but style is a constant - Programming Perl

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

Reply via email to