MongoDB::GridFS::File man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

MongoDB::GridFS::File(User Contributed Perl DocumentatMongoDB::GridFS::File(3)

NAME
       MongoDB::GridFS::File - A Mongo GridFS file

SYNOPSIS
	   use MongoDB::GridFS::File;

	   my $outfile = IO::File->new("outfile", "w");
	   my $file = $grid->find_one;
	   $file->print($outfile);

ATTRIBUTES
   info
       A hash of info information saved with this file.

METHODS
   print ($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.

AUTHOR
	 Kristina Chodorow <kristina@mongodb.org>

perl v5.14.2			  2011-09-07	      MongoDB::GridFS::File(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net