Conf-Libconfig
view release on metacpan or search on metacpan
t/02-read.t view on Meta::CPAN
],
"value for list - status ok",
);
is_deeply($foo2->value("misc"),
{
"port"=>5000,
"pi"=>"3.14159265",
"enabled"=>0,
"mask"=>-1430532899,
"unicode"=>"STARGÎÌTE SG-1",
"bigint"=>9223372036854775807,
"bighex"=>1234605616436508552,
},
"value for list - status ok",
);
is($foo2->lookup_string("application.test-comment"),
"/* hello\n \"there\"*/",
"libconfig_lookup_string - status ok",
);
{ } );
# miscellaneous stuff
misc:
{
port = 5000;
pi = 3.14159265;
enabled = FALSE;
mask = 0xAABBCCDD;
unicode = "STARGÎÌTE SG-1"; // UTF-8 string
bigint = 9223372036854775807L;
bighex = 0x1122334455667788L;
};
conffile_option: ( "F", "conffile" );
### eof
( run in 0.521 second using v1.01-cache-2.11-cpan-88abd93f124 )