Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [lastsaga] global variables

Quote Reply
Re: [lastsaga] global variables In reply to
The global.txt file is a hash dump, that includes keys and references to subroutines.

The code is all PERL for subroutines, but the file itself is just a hash key/value pairing of data.

Using the admin->templates->global editor is the best way to edit it. Otherwise, you can do some _massive_ damage.

One caveat is that the first line of a subroutine needs to be only five characters "sub {"

I'm not sure if this has changed in the most current release, but it's safest to make sure for backwards compatibility.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread global variables lastsaga 3180 Dec 11, 2003, 4:05 PM
Thread Re: [lastsaga] global variables
pugdog 3135 Dec 11, 2003, 4:31 PM
Thread Re: [pugdog] global variables
lastsaga 3152 Dec 11, 2003, 4:34 PM
Thread Re: [lastsaga] global variables
pugdog 3123 Dec 11, 2003, 4:58 PM
Thread Re: [pugdog] global variables
lastsaga 3125 Dec 11, 2003, 5:08 PM
Post Re: [lastsaga] global variables
pugdog 3096 Dec 12, 2003, 12:20 AM
Post Re: [lastsaga] global variables
Andy 3121 Dec 12, 2003, 1:37 AM