Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: scuzzman
Forum: Perl Dec 23rd, 2005, 5:57 AM
Replies: 3
Views: 308
Posted By scuzzman
Thanks! Would changing this to a constant achieve...

Thanks! Would changing this to a constant achieve my desired result, or would I need to just write a subfunction to repeatedly do the calculation?
Forum: Perl Dec 23rd, 2005, 5:29 AM
Replies: 3
Views: 308
Posted By scuzzman
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...
Showing results 1 to 2 of 2

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:41 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC