Chris Dolan > Fuse-PDF-0.09 > Fuse::PDF::ErrnoHacks

Download:
Fuse-PDF-0.09.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Fuse::PDF::ErrnoHacks - Workaround for missing POSIX.pm error number values

SYNOPSIS ^

In each package that needs ENOATTR:

   use Fuse::PDF::ErrnoHacks;

That's it.

DESCRIPTION ^

For reasons I do not understand, use POSIX ':errno_h' is missing some values on (at least) Mac OS X 10.4. This module detects the missing constant and tries to read from /usr/include/sys/errno.h directly. If it can't find the constant there either, it substitutes EIO instead.

GENERATED CONSTANTS ^

ENOATTR()

LICENSE ^

Copyright 2007-2008 Chris Dolan, cdolan@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

POSIX

AUTHOR ^

Chris Dolan, cdolan@cpan.org

syntax highlighting: