![]() |
![]()
| ![]() |
![]()
NAMEJifty::CAS::Blob - An object in Jifty's content-addressed store SYNOPSISmy $blob = Jifty::CAS->retrieve('js', $key); my $content = $blob->content; my $meta = $blob->metadata; my $key = $blob->key; DESCRIPTIONObjects in the content-addressed store can have arbitrary metadata associated with them, in addition to storing their contents. METHODSnew HASHREFTakes a HASHREF, with possible keys "content" and "metadata", and creates a new object. Possible special keys in the metadata include:
contentReturns the content of the blob. metadataReturns a hashref of metadata. keyReturns the key calculated for this content.
|