![]() |
| > Home > Documentation > Latest documentation > Interchange tags > version |
|
versionGet the Interchange version number and/or other Interchange-related information. Summary
ExamplesTag expansion example
Perl example
or similarly with positional parameters:
DescriptionGet the Interchange version number and/or other Interchange-related information. ParametersextendedThis parameter enables all of the other parameters listed on this page. None of the other paramaters will be available for use unless this parameter is set true. If extended is true and no other parameters are specified (apart from the optional joiner) then the Interchange version number will be output and the db parameter will be set true. child_pidOutput the current Interchange page server's process ID. dbShow database-related Perl module information. If extended is true and no other parameters are specified (apart from the optional joiner), then this parameter will default to true, otherwise this parameter will default to false. envOutput the names of the environment variables specified using the Environment global configuration directive. global_errorOutput the name of the global error log file, as specified using the ErrorFile global configuration directive.
global_locale_optionshostnameOutput the hostname that's running the Interchange instance. joinerSeparate the lines in the output with the given value. The default value is "<br>". local_errorOutput the name of the local error log file, as specified using the ErrorFile local configuration directive.
modeOutput the current Interchange run mode(s), which can be one or more of the following:
modtestTest for the availability of the named Perl module. If the named Perl module is available then this test will output "1", otherwise "0" will be returned.
modulesOutput the availability, version number and other information about the following Perl modules:
perlOutput the Perl version number, along with the path to the "perl" command. perl_configOutput lots of Perl build and configuration details. pidOutput the content of the PIDfile, which contains the Interchange instance's master process ID. safeOutput the current value of the SafeUntrap global configuration directive. uidOutput the UNIX username and numerical user ID that's running the current Interchange instance.
DonationsPlease contact us if you have a HOWTO-style document, or anything else you'd like to share with other Interchange users and developers. Go on - you know you want to. |
|
| Home | Legal nonsense | Privacy policy | Contact us |