No, you can't call a global within a global, *but* you could add the values to the ConfigData.pm file, and the use that in your globals via $CFG, if you know how to edit that file. Or, you could create a function in a separate file to do what you want.
Might work, but not tried:
If you have a subroutine where the global is passed from the the template.
The globals are compiled before the template is parsed (has to be). So, a global can't know about any other globals during this initial compillation.
But, if a global tag such as BIG_NUMBER is compiled into the globals, and you want to use that inside another global, you *might* be able to do
<%other_subroutine BIG_NUMBER%>
inside your template, and in that case, since BIG_NUMBER has already been compiled, it is passed in to the compiled subroutine, and can be used like any other $tag-> value.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
Might work, but not tried:
If you have a subroutine where the global is passed from the the template.
The globals are compiled before the template is parsed (has to be). So, a global can't know about any other globals during this initial compillation.
But, if a global tag such as BIG_NUMBER is compiled into the globals, and you want to use that inside another global, you *might* be able to do
<%other_subroutine BIG_NUMBER%>
inside your template, and in that case, since BIG_NUMBER has already been compiled, it is passed in to the compiled subroutine, and can be used like any other $tag-> value.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.