13 May 2013 06:21:41 UTC
- Distribution: DataStore-CAS
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (423 / 2 / 1)
- KwaliteeBus factor: 1
- 68.65% Coverage
- License: perl_5
- Perl: v5.8.0
- Download (27.31KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:
- Michael Conrad
- COPYRIGHT AND LICENSE
DataStore::CAS::File - Object returned by DataStore::CAS describing a CAS entry
These are bare minimal wrappers that essentially just curry a few parameters to later calls to 'open' (or possibly 'put').
All file objects will have the attributes described here, but other attributes or methods may exist for the storage engine you are using; see the documentation for your particular store.
Read-only attribute; Reference to the DataStore::CAS which created this file.
Read-only attribute; The digest hash of the bytes of this file.
Read-only attribute; The length of the file, in bytes.
$handle= $file->open( %flags | \%flags )
A convenience method to call
File objects are equipped with an AUTOLOAD which passes all unknown function calls to
This allows stores to use the built-in File objects without a lot of delegation.
File objects also come with a DESTROY which calls
Michael Conrad <email@example.com>
This software is copyright (c) 2013 by Michael Conrad, and IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install DataStore::CAS, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install DataStore::CAS
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|