When I was trying to install GDGraph-1.43 It failed due to the following message " Warning: prerequisite GD failed to load: Can't load '/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl' for module GD: No suc. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Warning: prerequisite GD::Text 0.80 not found at /opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340. Writing Makefile for GD::Graph "
But I could not find GD::Text 0.80 through CPAN Thanks, ... -----Original Message----- From: Lile, James AZ2 (VAW-115) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 8:34 PM To: 'Catriona Wordsworth'; [EMAIL PROTECTED] Subject: RE: elsif issues ....still Someone correct me if I am wrong, the numbers in quotes are being read as strings and not numbers, or numbers not strings. The == works with numbers, and the quotes are for strings. I think that the way you have it set up, the number one is returning true when the $variable is defined. respectfully, James -----Original Message----- From: Catriona Wordsworth [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:03 AM To: [EMAIL PROTECTED] Subject: elsif issues ....still Hi Guys, trying to get the following code to print each line where relevant....but it only prints the first statement "yes its one!" even if the $variable is "5".... $variable = $var if ($variable == "1"){ print MAIL "yes its one!\n"; } elsif ($variable == "2"){ print MAIL "it is two!\n"; } elsif ($variable == "3"){ print MAIL "the number three.\n"; } elsif ($variable == "4"){ print MAIL "4 is on the cards.\n"; } elsif ($variable == "5"){ print MAIL "number 5 is alive.\n"; } elsif ($variable == "6"){ print MAIL "pick up sticks.\n"; } elsif ($variable == "7"){ print MAIL "go to heaven.\n"; } else { print "this is not working\n"; } any ideas where I might be going wrong? I copied this direct out of my perl book....theoretically it should work right?? regards Cat -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>