Query: mongodb::gridfs::file
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MongoDB::GridFS::File(3pm) User Contributed Perl Documentation MongoDB::GridFS::File(3pm)NAMEMongoDB::GridFS::File - A Mongo GridFS fileSYNOPSISuse MongoDB::GridFS::File; my $outfile = IO::File->new("outfile", "w"); my $file = $grid->find_one; $file->print($outfile);ATTRIBUTESinfo A hash of info information saved with this file.METHODSprint ($fh, $length?, $offset?) $written = $file->print($fh, 50, 200); Writes the number of bytes specified from the offset specified to the given file handle. If no $length or $offset are given, the entire file is written to $fh. Returns the number of bytes written. slurp ($length?, $offset?) $bytes = $file->slurp(50, 200); $all = $file->slurp Return the number of bytes specified from the offset specified to the given file handle. If no $length or $offset are given, the entire file is return.AUTHORKristina Chodorow <kristina@mongodb.org> perl v5.14.2 2011-09-07 MongoDB::GridFS::File(3pm)
| Related Man Pages |
|---|
| mongodbdrivermanager.__construct(3) - php |
| mongogridfs.storebytes(3) - php |
| mongogridfs.storefile(3) - php |
| dbm::deep::storage::file(3pm) - debian |
| mongodb::gridfs(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Introduction |
| A (ksh) Library For and From UNIX.com |
| My first PERL incarnation... Audio Oscillograph |