Errno 1.10
Sponsored Links
Errno 1.10 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
906
Date added:
2007-05-10
Publisher:
Graham Barr
Errno 1.10 description
Errno package contains system errno constants.
SYNOPSIS
use Errno qw(EINTR EIO :POSIX);
Errno defines and conditionally exports all the error constants defined in your system errno.h include file. It has a single export tag, :POSIX, which will export all POSIX defined error numbers.
Errno also makes %! magic such that each element of %! has a non-zero value only if $! is set to that value. For example:
use Errno;
unless (open(FH, "/fangorn/spouse")) {
if ($!{ENOENT}) {
warn "Get a wife!n";
} else {
warn "This path is barred: $!";
}
}
If a specified constant EFOO does not exist on the system, $!{EFOO} returns "". You may use exists $!{EFOO} to check whether the constant is available on the system.
CAVEATS
Importing a particular constant may not be very portable, because the import will fail on platforms that do not have that constant. A more portable way to set $! to a valid value is to use:
if (exists &Errno::EFOO) {
$! = &Errno::EFOO;
}
SYNOPSIS
use Errno qw(EINTR EIO :POSIX);
Errno defines and conditionally exports all the error constants defined in your system errno.h include file. It has a single export tag, :POSIX, which will export all POSIX defined error numbers.
Errno also makes %! magic such that each element of %! has a non-zero value only if $! is set to that value. For example:
use Errno;
unless (open(FH, "/fangorn/spouse")) {
if ($!{ENOENT}) {
warn "Get a wife!n";
} else {
warn "This path is barred: $!";
}
}
If a specified constant EFOO does not exist on the system, $!{EFOO} returns "". You may use exists $!{EFOO} to check whether the constant is available on the system.
CAVEATS
Importing a particular constant may not be very portable, because the import will fail on platforms that do not have that constant. A more portable way to set $! to a valid value is to use:
if (exists &Errno::EFOO) {
$! = &Errno::EFOO;
}
Errno 1.10 Screenshot
Errno 1.10 Keywords
EFOO
Errno 1.10
POSIX
Errno
system
constants
package
contains
constant
Errno 1.10
Libraries
Programming
Bookmark Errno 1.10
Errno 1.10 Copyright
WareSeeker periodically updates pricing and software information of Errno 1.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Errno 1.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Cairo package contains Perl bindings to the cairo graphics library. Free Download
libgpg-error package contains common error codes and error handling functions used by GnuPG, Libgcrypt, GPGME and more packages. Free Download
Ruby-GNOME2 is a set of Ruby language bindings for the GNOME 2 development environment. Free Download
The ypserv package contains the daemons ypserv, rpc.yppasswdd, rpc.ypxfrd and the programs yppush, ypxfr, makedbm, revnetgroup. Free Download
Remote Nmap (Rnmap) package contains both client and server programs. Free Download
GNU termcap is a project which enables programs to use display terminals in a terminal-independent manner. Free Download
Service menus for Debian package contains Konqueror service menus for Debian users. Free Download
Quake III Gold package contains QUAKE III Arena & QUAKE III: Team Arena. Free Download
Latest Software
Popular Software
Favourite Software