Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [webmaster33] File include in Global Vars?

Quote Reply
Re: [webmaster33] File include in Global Vars? In reply to
>>
Aren't parsed again themselves? Why again? It seems globals are not parsed at all!

Is there any reason why you did not wanted to parse it?
I think parsing the globals is a necessary thing (or at least to make it available optionally).
And I don't think, that there are any disadvantage of parsing the globals. Are there?
<<

Globals are perl code or simple strings.....the parser is a template parser.

If you parsed it again it would be doing twice the amount of parsing and would slow things down considerably.

I don't unserstand why you'd want to do it. Any output created by a tag can be done with perl code anyway without loading the parser.

>>
Finally, if we don't do parsing globals, we are not able to include any menu file in the left table column.
<<

Of course you can. You know how to use open() and close() right? Wink

Last edited by:

Paul: Apr 29, 2002, 5:50 AM
Subject Author Views Date
Thread File include in Global Vars? webmaster33 4320 Apr 28, 2002, 4:40 PM
Thread Re: [webmaster33] File include in Global Vars?
Jagerman 4239 Apr 28, 2002, 6:24 PM
Thread Re: [Jagerman] File include in Global Vars?
webmaster33 4173 Apr 29, 2002, 5:13 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 4187 Apr 29, 2002, 5:43 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 4185 Apr 29, 2002, 6:15 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 4146 Apr 29, 2002, 6:56 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 4161 Apr 29, 2002, 8:25 AM
Post Post deleted by Paul
Paul 4188 Apr 29, 2002, 9:12 AM
Post Re: [Paul] File include in Global Vars?
webmaster33 4155 Apr 29, 2002, 10:01 AM
Thread Re: [webmaster33] File include in Global Vars?
Alex 4114 Apr 29, 2002, 12:01 PM
Thread Re: [Alex] File include in Global Vars?
webmaster33 4104 Apr 29, 2002, 1:49 PM
Thread Re: [webmaster33] File include in Global Vars?
Paul 4119 Apr 29, 2002, 1:54 PM
Thread Re: [Paul] File include in Global Vars?
webmaster33 4157 Apr 29, 2002, 2:10 PM
Thread Re: [webmaster33] File include in Global Vars?
Alex 4108 Apr 29, 2002, 3:23 PM
Post Re: [Alex] File include in Global Vars?
webmaster33 4105 Apr 29, 2002, 4:04 PM