Fuse::Simple is a simple way to write filesystems in Perl using FUSE.
SYNOPSIS
use Fuse::Simple qw(accessor main);
my $var = "this is a variable you can modify. write to me!n";
my $filesystem = {
foo => "this is the contents of a file called foon",
subdir => {
"foo" => "this foo is in a subdir called subdirn",
"blah" => "this blah is in a subdir called subdirn",
},
"blah" => "subdir/blah", # scalar refs are symlinks
"magic" => sub { return "42n" }, # will be called to get value
"var" => accessor($var), # read and write this variable
"var2" => accessor($var), # and the same variable
"var.b" => accessor( my $tmp), # and an anonymous var
};
main(
"mountpoint" => "/mnt", # actually optional
"debug" => 0, # for debugging Fuse::Simple. optional
"fuse_debug" => 0, # for debugging FUSE itself. optional
"threaded" => 0, # optional
"/" => $filesystem, # required :-)
);
Product's homepage
Requirements:
· Perl