Fuse::SimpleFuse::Simple is a simple way to write filesystems in Perl using FUSE. | |
Download |
Fuse::Simple Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Nick Waterman
- Publisher web site:
- http://search.cpan.org/~noseynick/Fuse-Simple-1.00/lib/Fuse/Simple.pm
Fuse::Simple Tags
Fuse::Simple Description
Fuse::Simple is a simple way to write filesystems in Perl using FUSE. 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 :-) ); Requirements: · Perl
Fuse::Simple Related Software