P5-sane is a project mainly written in Perl, it's free.
This is Perl module sane.
INSTALLATION
sane installation is straightforward. If your CPAN shell is set up, you should just be able to do
% cpanm sane
Download it, unpack it, then build it as per the usual:
% perl Makefile.PL
% make && make test
Then install it:
% make install
DOCUMENTATION
sane documentation is available as in POD. So you can do:
% perldoc sane
to read the documentation online with your favorite pager.
punytan