Using GD.PM ver1.18 (GIFS ALLOWED)
This is the portion of my CGI that is not making sense to me. When I use the variable $TOP instead of $black the image is not filled. However when I look at the value of $TOP it is $black.
--------------------works---------------------------
# Put a black circle around the top of image and fill it
$TOP="\$"."black";
$im->arc(79,74,14,14,0,360,$black);
$im->fill(79,74,$black);
-----------------does not work-----------------------
# Put a black circle around the top of image and fill it
$TOP="\$"."black";
$im->arc(79,74,14,14,0,360,$black);
$im->fill(79,74,$TOP);
This is the portion of my CGI that is not making sense to me. When I use the variable $TOP instead of $black the image is not filled. However when I look at the value of $TOP it is $black.
--------------------works---------------------------
# Put a black circle around the top of image and fill it
$TOP="\$"."black";
$im->arc(79,74,14,14,0,360,$black);
$im->fill(79,74,$black);
-----------------does not work-----------------------
# Put a black circle around the top of image and fill it
$TOP="\$"."black";
$im->arc(79,74,14,14,0,360,$black);
$im->fill(79,74,$TOP);