Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Looping

by screamingeagle (Curate)
on Jun 25, 2002 at 19:17 UTC ( #177178=note: print w/replies, xml ) Need Help??


in reply to Looping

this should work :
use strict; my $val = sprintf("%4d", (localtime(time))[5]+1900); while ($val >= 1903) { print "\nval : $val"; --$val; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177178]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2016-09-30 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (566 votes). Check out past polls.