our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = ();
-our $VERSION = '0.09_3';
+our $VERSION = '0.09_4';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
my $tmp = 0;
my %mapping = map { $_ => $tmp++ } @names;
my %optmap = map { $_ => 1 } @validOpts;
- my @otherargs = qw(debug threaded mountpoint mountopts);
- my %otherargs = (debug=>0, threaded=>0, mountpoint=>"", mountopts=>"");
+ my @otherargs = qw(debug threaded mountpoint mountopts fuseopts);
+ my %otherargs = (debug=>0, threaded=>0, mountpoint=>"", mountopts=>"", fuseopts=>"");
while(my $name = shift) {
my ($subref) = shift;
if(exists($otherargs{$name})) {
Arguments: Pathname, scalar buffer, numeric offset, file handle. You can use length($buffer) to
find the buffersize.
-Returns an errno.
+Returns length($buffer) if successful (number of bytes written).
Called in an attempt to write (or overwrite) a portion of the file. Be prepared because $buffer could contain random binary data with NULs and all sorts of other wonderful stuff.