Can anyone tell me whats wrong in my code???
I'll try generate image with java, it works fine but I can't call that sub-program from perl... that is web-based script, so it have to call from cgi-script. If I run that script on shell, it works fine but when its called from web-page it wont work!
Code:
system("java", "-Djava.awt.headless=true DrawPie '40-50' 11 '50-60' 12 '20-24' 1 'Others' 10");
That doesn't do anything... no any errors, but not even execute my sub-program... I'll try it with exec-command too, but it makes exception... and doesn't exec java-command...
Code:
exec("java -Djava.awt.headless=true DrawPie '40-50' 11 '50-60' 12 '20-24' 1 'Others' 10");
I think that needs to call from shell, but how i can call java in shell from web-page???
thanks -m-