GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DBM::Deep::Storage::File(3) User Contributed Perl Documentation DBM::Deep::Storage::File(3)

DBM::Deep::Storage::File - mediate low-level interaction with storage mechanism

This is an internal-use-only object for DBM::Deep. It mediates the low-level interaction with the storage mechanism.

Currently, the only storage mechanism supported is the file system.

This class provides an abstraction to the storage mechanism so that the Engine (the only class that uses this class) doesn't have to worry about that.

This method opens the filehandle for the filename in " file ".

There is no return value.

If the filehandle is opened, this will close it.

There is no return value.

This will return the size of the DB. If file_offset is set, this will take that into account.

NOTE: This function isn't used internally anywhere.

This will set the inode value of the underlying file object.

This is only needed to handle some obscure Win32 bugs. It really shouldn't be needed outside this object.

There is no return value.

This takes an optional offset and some data to print.

$offset , if defined, will be used to seek into the file. If file_offset is set, it will be used as the zero location. If it is undefined, no seeking will occur. Then, @data will be printed to the current location.

There is no return value.

This takes an optional offset and a length.

$offset , if defined, will be used to seek into the file. If file_offset is set, it will be used as the zero location. If it is undefined, no seeking will occur. Then, $length bytes will be read from the current location.

The data read will be returned.

When the ::Storage::File object goes out of scope, it will be closed.

This takes a size and adds that much space to the DBM.

This returns the offset for the new location.

This will take the stats for the current filehandle and apply them to $target_filename . The stats copied are:
  • Onwer UID and GID
  • Permissions
2018-05-20 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.