Forum: Perl
Dec 23rd, 2005, 5:57 AM
|
|
Replies: 3
Views: 308
|
Forum: Perl
Dec 23rd, 2005, 5:29 AM
|
|
Replies: 3
Views: 308
A simple script isn't working correctly
I'm having trouble getting a very simple script to run and cannot figure out the problem. The script is as follows:
#!/usr/bin/perl -w
$level = 1;
$prod = (20 * $level) * (1.1 ** $level);
print...
|