lease.sig file format oddities...

Martin Langhoff martin.langhoff at gmail.com
Fri Apr 11 11:18:13 EDT 2008


Hi Scott, List,

The cat-leases.pl script I posted yesterday doesn't work, and I am a
bit lost. What libraries are being used for reading/writing those?

As far as I can see, oddities are

 - the lease files that work are not strictly JSON, according to the
strict Perl JSON parser and jsonlint
 - it must be sorted for the activation to work
 - it is wrapped like [1, $data]
 - the reader seems sensitive to whitespace and perhaps \n-encoded newlines

does anyone know more about these?

cheers,


martin
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Devel mailing list