SysArch(3)

NAME
SysArch - provide access to sysarch variables

SYNOPSIS
    use SysArch;

    # sysarch variables are available via the SysArch::Vars hash.
    $os_type = $SysArch::Vars{'os_type'};

DESCRIPTION
SysArch provides access to the sysarch variables through the SysArch::Vars hash. The keys to the hash are the sysarch variable names.

INTERFACE
There are no functions to call.

DIAGNOSTICS

"error running %s"
    There was an error running the sysarch program.

CONFIGURATION AND ENVIRONMENT
SysArch requires no configuration files or environment variables.

DEPENDENCIES
If YAML::Tiny is available it is used to parse the output of sysarch, otherwise the sysarch is "eval"'d, which is a security risk.

INCOMPATIBILITIES
None reported.

BUGS AND LIMITATIONS
No bugs have been reported.

SEE ALSO

VERSION
Version 1.0.0

LICENSE AND COPYRIGHT
Copyright (c) 2008 The Smithsonian Astrophysical Observatory

sysarch is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

AUTHOR
Diab Jerius <djerius@cpan.org>