OS Manuals

owperl(3)

owperl - perl interface for the 1-wire filesystem

OWPERL(3) One-Wire File System OWPERL(3)

owperl - perl interface for the 1-wire filesystem

OW.pm
use OW ;
OW::init( interface );
OW::init( initialization string );

The full set of initialization options is extensive. They correspond roughly to the command line options of ,B owfs (1) owhttpd (1) and owftpd (1)
OW::get( path );
OW::put( path , value );
OW::finish();

See the file man3/description.3so.

owperl (3) is a perl module that provides an interface to OWFS. The path to each 1-wire device is the same as owfs (1) . Only the top layer has been modified to return native perl strings.

owperl (3) is created by swig (1) (http://www.swig.org) which can be easily modified to support other programming languages.

interface
Location of the 1-wire bus:

"u"
Direct connection to the 1-wire interface on the USB port -- DS9490
/dev/ttySx
Direct connection to a 1-wire interface on the serial port -- DS9097U or DS9097
Location of an owserver daemon that connects to the 1-wire bus. Multiple owperl as well as owfs and owhttpd programs can access the owserver process simultaneously. In fact, this will probably be the preferred mode of access to OWFS for owperl except in trivial applications.

perl -MOW -e "OW::init('/dev/ttyS1'); printf OW::get('´);"

See the file man3/seealso.3so.

http://www.owfs.org

Paul Alfille (paul.alfille@gmail.com)

2004 OWFS Manpage

owfs 3.2.4-r8 · os · ingested 2026-09-30