Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Paul] File include in Global Vars?

Quote Reply
Re: [Paul] File include in Global Vars? In reply to
Paul,

Quote:
If you parsed it again it would be doing twice the amount of parsing and would slow things down considerably.
Let me know why it is parsed 2x?
If I place <%include test.html%> it is left untouched in the source code, so you can view the tag in the browser source.

What this means?
a) The template is parsed first
b) The global content is inserted into the template (or executed if it is a sub)
c) The global was not parsed

I suggested to parse only the global (not the full template again).
Paul, please explain me, why the global is parsed 2x?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread File include in Global Vars? webmaster33 2948 Apr 28, 2002, 4:40 PM
Thread Re: [webmaster33] File include in Global Vars?
Jagerman 2880 Apr 28, 2002, 6:24 PM
Thread Re: [Jagerman] File include in Global Vars?
webmaster33 2829 Apr 29, 2002, 5:13 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2830 Apr 29, 2002, 5:43 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2830 Apr 29, 2002, 6:15 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2800 Apr 29, 2002, 6:56 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2784 Apr 29, 2002, 8:25 AM
Post Post deleted by Paul
Paul 2845 Apr 29, 2002, 9:12 AM
Post Re: [Paul] File include in Global Vars?
webmaster33 2802 Apr 29, 2002, 10:01 AM
Thread Re: [webmaster33] File include in Global Vars?
Alex 2769 Apr 29, 2002, 12:01 PM
Thread Re: [Alex] File include in Global Vars?
webmaster33 2759 Apr 29, 2002, 1:49 PM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2765 Apr 29, 2002, 1:54 PM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2810 Apr 29, 2002, 2:10 PM
Thread Re: [webmaster33] File include in Global Vars?
Alex 2764 Apr 29, 2002, 3:23 PM
Post Re: [Alex] File include in Global Vars?
webmaster33 2754 Apr 29, 2002, 4:04 PM