2 use Fuse
::Simple
qw(accessor main nocache saferun runcode);
9 for(my $i=0;$i<int(rand(15));$i++) {
10 $list->{$i}="test #$i\n";
15 my $var = "this is a variable you can modify. write to me!\n";
18 nocache
("LOOOL:".rand(9999)."\n");
21 foo
=> "this is the contents of a file called foo\n",
23 "foo" => "this foo is in a subdir called subdir\n",
24 "blah" => "this blah is in a subdir called subdir\n",
26 "blah" => \
"subdir/blah", # scalar refs are symlinks
28 "recursion" => \
".", # scalar refs are symlinks
30 "magic" => sub { return "42\n" }, # will be called to get value
31 "var" => accessor
(\
$var), # read and write this variable
32 "var2" => accessor
(\
$var), # and the same variable
33 "var.b" => accessor
(\
my $tmp), # and an anonymous var
38 #"mountpoint" => "./test", # actually optional
39 "debug" => 0, # for debugging Fuse::Simple. optional
40 "fuse_debug" => 0, # for debugging FUSE itself. optional
41 "threaded" => 0, # optional
42 "/" => $filesystem, # required :-)
This page took 0.300268 seconds and 4 git commands to generate.