GConf question



One last one before I hit the sack; maybe I'm just too sleepy to find my
error.

Why does this script:

use Gnome2::GConf;
use Data::Dumper;

my $client = Gnome2::GConf::Client->get_default;
my $app_key = "/apps/curboj/testlist2";
$client->add_dir($app_key, 'preload-none');

my @data =
("http://sourceforge.net/export/rss2_projnews.php?group_id=64773;gtk2-perl";,
            "http://www.perlmonks.org/headlines.rdf;Perlmonks.org";);

$client->set_list($app_key, 'string', \ data);
my $outdata = $client->get_list($app_key);
print Dumper($outdata);

print this?
$VAR1 = [
          undef,
          undef
        ];

I tried a regular string type as well, and got undef from it too. What
am I missing here? gconf-editor confirms that the set is working...

Thanks a bunch.

-- 
James Curbo <james teyandei net>
http://teyandei.net/
GPG Fingerprint: AA8B D78D 6789 84E2 17A5 0F2A C4CA 6A55 0A4B 263F

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]