On Thu, Sep 02, 2004 at 08:14:24PM -0400, Hearn, Stan (CEI-ATL) wrote:
> I'm still having problems getting graphing to work on a Solaris 9
> machine. What is the purpose of this code and why is it failing? $@
> returns true.
>
> eval {
> require RRDs;
> $self->add_feature_provider( "rrd" );
> };
> if( $@ ) {
> BigSister::common::log( "notice", "RRDTool's perl module is not
> present - not using perl bindings" );
> }
>
> I've placed debug code in there and rrdtool is in the path.
This has nothing to do with rrdtool being in the path. It is testing
whether the perl RRDs module is within perls @INC path, so that it can
use these in place of the rrdtool program. Using the perl module is
significantly faster, as it avoids the fork and exec of rrdtool.
/Niels
--
Niels Baggesen - @home - Århus - Denmark - suppressed
The purpose of computing is insight, not numbers --- R W Hamming
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&opÌk
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.