Today Tiago Pedroso wrote:
> wouldn't it be great to have things like this: > > my $rrd = RRD->new->( filename => "my.rrd" ); > > my $info = $rrd->info(); > > foreach my $elem (keys %{$info->{ds}} { > print "dsname = $elem\n"; > print "dst = ".$info->{ds}{$elem}{type}."\n"; > print "hb = ".$info->{ds}{$elem}{minimal_heartbeat}."\n"; > print "min = ".$info->{ds}{$elem}{min}."\n"; > print "max = ".$info->{ds}{$elem}{max}."\n"; > } > > Am I being to demanding ? Well at least rddtool ships with a perl API Hi Tiago, not at all, but designing such an second level API in perl is much simpler and IMHO the right thing todo as oposed to create such an API in XS ... so if you wrote a second level API which not make it availale to othrs to enjoy ... cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ mailto:[EMAIL PROTECTED] http://people.ee.ethz.ch/~oetiker -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi