Forum: Perl Apr 23rd, 2008 |
| Replies: 4 Views: 1,133 Hey There,
Are you having problems modifying a variable you declare outside of the loop?
This code will increment the variable in the foreach loop and change it's value outside the loop.
Let... |
Forum: Perl Dec 2nd, 2007 |
| Replies: 10 Views: 2,115 Hi,
I'm not sure I follow on the first one, but for the second part, this might help:
$already_putin=2.00 # use 0 to start;
$input = 1.00;
$mean_average = ($already_putin+$input)/2; |
Forum: Perl Dec 1st, 2007 |
| Replies: 3 Views: 1,063 If you see "Hello world!" in the browser when you pull up this page, then it's working fine. This isn't so much of a cgi script as a perl script that prints out html.
You won't see the #! perl... |
Forum: Perl Nov 1st, 2007 |
| Replies: 9 Views: 1,367 Probably the celToFah param isn't being passed, since it's always going with the default.
Check the form and make sure the param name is set correctly.
Worst case, do some in-script debugging... |
Forum: Perl Oct 30th, 2007 |
| Replies: 9 Views: 1,367 This is a stretch, since I'm not in front of linux/unix computer right now, but the error might be at your subroutines. I always do this, so I don't know if it's a problem, but you might try doing:... |