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 2509 Apr 28, 2002, 4:40 PM
Thread Re: [webmaster33] File include in Global Vars?
Jagerman 2443 Apr 28, 2002, 6:24 PM
Thread Re: [Jagerman] File include in Global Vars?
webmaster33 2400 Apr 29, 2002, 5:13 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2400 Apr 29, 2002, 5:43 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2397 Apr 29, 2002, 6:15 AM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2374 Apr 29, 2002, 6:56 AM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2357 Apr 29, 2002, 8:25 AM
Post Post deleted by Paul
Paul 2410 Apr 29, 2002, 9:12 AM
Post Re: [Paul] File include in Global Vars?
webmaster33 2368 Apr 29, 2002, 10:01 AM
Thread Re: [webmaster33] File include in Global Vars?
Alex 2337 Apr 29, 2002, 12:01 PM
Thread Re: [Alex] File include in Global Vars?
webmaster33 2326 Apr 29, 2002, 1:49 PM
Thread Re: [webmaster33] File include in Global Vars?
Paul 2333 Apr 29, 2002, 1:54 PM
Thread Re: [Paul] File include in Global Vars?
webmaster33 2383 Apr 29, 2002, 2:10 PM
Thread Re: [webmaster33] File include in Global Vars?
Alex 2326 Apr 29, 2002, 3:23 PM
Post Re: [Alex] File include in Global Vars?
webmaster33 2320 Apr 29, 2002, 4:04 PM