Dtermine whether a filehandle is opened for reading, writing, or both

Edit Package perl-FileHandle-Fmode
http://search.cpan.org/perldoc?FileHandle::Fmode

$bool = is_FH($fh);
$bool = is_FH(\*FH);
This is just a (more intuitively named) alias for is_arg_ok().
Returns 1 if its argument is an open filehandle.
Returns 0 if its argument is something other than an open filehandle.

Author:
-------
Sisyphus

Refresh
Refresh
Source Files
Filename Size Changed
FileHandle-Fmode-0.11.tar.bz2 0000005665 5.53 KB
FileHandle-Fmode-0.11.tar.gz 0000005521 5.39 KB
perl-FileHandle-Fmode.changes 0000000301 301 Bytes
perl-FileHandle-Fmode.spec 0000001239 1.21 KB
Revision 4 (latest revision is 7)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 4)
Comments 0
openSUSE Build Service is sponsored by