sys - Information about the currently running Perl interpreter.
This document describes sys version v0.1
use sys; my $warnings = sys->warnings; sys->warnings($new_value); my $executable_name = sys->executable_name; sys->executable_name($new_value); my $stderr = sys->stderr; my $accumulator = sys->accumulator; sys->accumulator($new_value); my $exceptions_being_caught = sys->exceptions_being_caught; sys->exceptions_being_caught($new_value); my $version = sys->version; sys->version($new_value); my $arg = sys->arg; sys->arg($new_value); my $debugging = sys->debugging; sys->debugging($new_value); my $basetime = sys->basetime; sys->basetime($new_value); my $inplace_edit = sys->inplace_edit; sys->inplace_edit($new_value); my $compiling = sys->compiling; sys->compiling($new_value); my $stdout = sys->stdout; my $last_regexp_code_result = sys->last_regexp_code_result; sys->last_regexp_code_result($new_value); my $perldb = sys->perldb; sys->perldb($new_value);
This is the object oriented version of English.
This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter.
Returns warnings as a SCALAR.
Returns executable_name as a SCALAR.
Returns stderr as a GLOB.
Returns accumulator as a SCALAR.
Returns exceptions_being_caught as a SCALAR.
Returns version as a SCALAR.
Returns arg as a SCALAR.
Returns debugging as a SCALAR.
Returns basetime as a SCALAR.
Returns inplace_edit as a SCALAR.
Returns compiling as a SCALAR.
Returns stdout as a GLOB.
Returns last_regexp_code_result as a SCALAR.
Returns perldb as a SCALAR.
No bugs have been reported.
Ask Solem, firstname.lastname@example.org.
Copyright (c), 2007 Ask Solem email@example.com.
sys is distributed under the Modified BSD License.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.