Re: [Owfs-developers] May be a little bug in OWNet.pm

2013-06-18 Thread Giulio Carabetta
I made some test with the script "test.pl" attached. This script, with OWNet.pm 2.9p0, returns values as the owserver is up&running, even it isn't. Applying this patch the test scripts get correct values. I'm not absolutely sure this patch is the best way to solve, but these are my 2 cents :) G

[Owfs-developers] May be a little bug in OWNet.pm

2013-06-17 Thread Giulio Carabetta
I was cleaning up my script, before making it public, and I'm reminded of a possible bug in the OWNet.pm perl library. Reading the man I thought I understand that calling: my $ owserver = OWNet->new ("localhost:4303"); while the server is not active, the expected behavior would be that $ owserve