Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: the '..' operator and decreasing values

by phroggy (Monk)
on Mar 05, 2005 at 00:25 UTC ( [id://436824]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for(my $i=10;$i<=0;$i++) {
      # do something
    }
    
  2. or download this
    for my $i (reverse 0..10) {
      # do something
    }
    
  3. or download this
    for $a(-2,12){for $b(0..7){$c=0;$_?hex substr(
    ef7fa1866706caeff02289402844,2*$_+$a,2)&2**(7-$b):0
    and $c+=2**(7-$_)for(0..7);print chr $c;}}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found