Home
Search Perl pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
$OS_ERROR
$ERRNO
$!
If used in a numeric context, yields the current value of errno, with all
the usual caveats. (This means that you shouldn't depend on the value of ``$! '' to be anything in particular unless you've gotten a specific error
return indicating a system error.) If used in a string context, yields the
corresponding system error string. You can assign to ``$! '' to set errno if, for instance, you want ``$! '' to return the string for error n, or you want to set the exit value for the die() operator.
(Mnemonic: What just went bang?)
Source: Perl predefined variables Copyright: Larry Wall, et al. |
Next: $EXTENDED_OS_ERROR $^E
Previous: $CHILD_ERROR $?
(Corrections, notes, and links courtesy of RocketAware.com)
Up to: Error Handling and Logging
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > Perl >
perlvar/_OS_ERROR.htm
RocketAware.com is a service of Mib Software Copyright 2000, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|