--- perl/trunk/README 2005/06/22 15:22:02 15 +++ perl/trunk/README 2005/12/27 12:47:00 19 @@ -25,9 +25,13 @@ DEPENDENCIES -This module requires the FUSE userspace library and the FUSE kernel module. +This module requires the FUSE C library and the FUSE kernel module. See http://fuse.sourceforge.net/ +If you intend to use FUSE in threaded mode, you need a version of Perl which +has been compiled with USE_ITHREADS. Then, you need to use threads and +threads::shared. + COPYRIGHT AND LICENCE @@ -63,9 +67,12 @@ BUGS -I've begun to build a formal testing framework. Currently it can mount -and unmount loopback.pl, and all of the base-level functions have test -scripts. These need to be fleshed out as problems are noticed. +At time of writing, Perl (5.8.7) did not support shared subroutine references. +Symptoms include a cryptic error message like "Invalid value for shared scalar" +from Fuse.pm. Until this is fixed, if you use threaded mode, you need to use +symbolic references (i.e. passing "main::cb" instead of \&cb). This doesn't +allow things like closures, lexical subs and that sort of thing, but it does +work for me. The current test framework seems to work well, but the underlying mount/ unmount infrastructure is a crock. I am not pleased with that code. @@ -75,4 +82,3 @@ * need to sort out cleaner mount semantics for the test framework * figure out how to un-linuxcentrify the statfs tests * test everything on other architectures and OS's -