[EMAIL PROTECTED] wrote:
Hi Josh ,
Though i was able generate the graph earlier today , iam erroring out with this error . Though i thought it was PATH error , i have added GD path but does'nt seem to work.
Can't locate object method "new" via package "GD::Graph::bars" at lisa_test.asp line 78. , /Net/stmdvocs/sbcexp/devl/SunOS/sparc-5.6/run/pd/cpan/5.6.1-eval/lib/Apache/ASP.pm line 1556
Tried to generate with a general script but does'nt work either
<%
$|++;
use strict;
use GD::Graph::bars;
my @data = (["Jan-01","Feb-01","Mar-01","Apr-01","May-01","Jun-01","Jul-01","Aug-01","Sep-01"],[21,25,33,39,49,48,40,45,15],[58,55,62,48,45,44,41,35,43]);
my $graph = new GD::Graph::bars;
This seems like it should work. Instead of "use strict" use UseStrict config. This is better, and might be related, as use strict compile errors otherwise will leave things in a bad compiled state.
Is there any commadline tool to debug like CGI ?
Yes, try the asp-perl command ( man/perldoc asp-perl ) --Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
