Hello, I asked this question to their list, but nobody had an answer, and the
help isn't reliable, so I hope I can ask. It is about a perl script, which
comes with it. button.pl
It gives a software error:
Software error:
Execution of /home/sites/site30/web/button.pl aborted due to compilation
errors.
I know I have imagemagick installed, one script works 90% and doesn't give
such errors, that script just doesn't create the button, but at least I know
it can work. WIth this, I just get this error. If interested, here is the
code. Anybody know from experience why the code isn't working or how to get
these scripts working online?
Thanks for your time. I simply can never find help with making buttons in
perl without fail. Here is the code if needed to determine cause of error:
#!/usr/bin/perl -w
#
# Make simple beveled button.
#
use strict;
use CGI;
use CGI::Carp qw/fatalsToBrowser/;
use Image::Magick;
$q=Image::Magick->new;
$q->Set(size=>'30x105');
$q->Read('gradient:#00f685-#0083f8');
$q->Rotate(-90);
$q->Raise('6x6');
$q->Annotate(text=>'Push Me',font=>'@/Fonts/LucidaBrightItalic.ttf',fill=>
'black', gravity=>'Center',pointsize=>18);
$q->Write('button.gif');
$q->Write('win:');