CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Counting

 



stanley
Novice

Apr 12, 2001, 12:48 PM

Post #1 of 2 (349 views)
Counting Can't Post

How do I make a script counting from 1 to ...... like a web counter when it's automatic refresh, without writing/reading any external file?



sleuth
Enthusiast

Apr 12, 2001, 2:17 PM

Post #2 of 2 (347 views)
Re: Counting [In reply to] Can't Post

 
Well,

foreach $number (0..100){
print "$number\n";
}

Will count.

Tony


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives