OPTIONS ON I/O RACE CONDITION POLICY

   Set internal file locking rules by calling File::Util::flock_rules()
   with a list or array containing your chosen directive keywords by order
   of precedence.

      ex- flock_rules( qw/ BLOCK FAIL / );  # this is the default rule

KEYWORDS

   BLOCK         waits to try getting an exclusive lock
   FAIL          fails with stack trace
   WARN          CORE::warn() about the error with a stack trace
   IGNORE        ignores the failure to get an exclusive lock
   UNDEF         returns undef
   ZERO          returns 0

NAME

File::Util - Easy, versatile, portable file handling.

VERSION

3.13_9

@ISA

Exporter
Handy::Dandy
   |
   +->OOorNO

@EXPORT

None by default.

@EXPORT_OK

@OOorNO::EXPORT_OK
@Handy::Dandy::EXPORT_OK
bitmask()
can_flock()
can_read()
can_write()
ebcdic()
escape_filename()
existent()
file_type()
isbin()
NL
needs_binmode()
os()
size()
SL
strip_path()
valid_filename()

%EXPORT_TAGS

:all (exports all of @File::Util::EXPORT_OK)

Methods

_dropdots()
_errors()
_release()
_seize()
_throw()
bitmask()
can_flock()
can_read()
can_write()
created()
ebcdic()
escape_filename()
existent()
file_type()
flock_rules()
isbin()
last_access()
last_mod()
line_count()
list_dir()
load_dir()
load_file()
make_dir()
max_dives()
needs_binmode()
new()
open_handle()
os()
readlimit()
size()
strip_path()
trunc()
use_flock()
write_file()
valid_filename()
VERSION()

AUTOLOAD-ed methods

bitmask()
can_flock()
created()
ebcdic()
escape_filename()
existent()
file_type()
flock_rules()
isbin()
last_access()
last_mod()
load_dir()
make_dir()
max_dives()
needs_binmode()
open_handle()
os()
readlimit()
size()
trunc()
use_flock()
_throw()
_errors()

PREREQUISITES

Perl 5.006 or better OOorNO.pm Exception::Handler.pm Handy::Dandy.pm

AUTHOR

Tommy Butler <cpan@atrixnet.com>

COPYRIGHT

Copyright(c) 2001-2003, Tommy Butler. All rights reserved.

LICENSE

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