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

  • Download package
  • osc -A https://api.opensuse.org checkout devel:languages:perl/perl-FileHandle-Fmode && cd $_
  • Create Badge
Refresh
Refresh
Source Files
Filename Size Changed
FileHandle-Fmode-0.14.tar.gz 0000006240 6.09 KB
perl-FileHandle-Fmode.changes 0000000496 496 Bytes
perl-FileHandle-Fmode.spec 0000001697 1.66 KB
Comments 0
openSUSE Build Service is sponsored by