Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Loops, the scalar range operator, and objects

by mstone (Deacon)
on Dec 22, 2001 at 02:26 UTC ( #133899=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @digits = (0..9);
    
  2. or download this
    while ($data = &func) {
        &munge ($data);
    }
    
  3. or download this
    if (&setup) {
        while ($data = &advance) {
    ...
    } else {
        ##  life sucks
    }
    
  4. or download this
    while (&setup_and_teardown .. &advance) {
        &munge (&get_data);
    }
    
  5. or download this
    #!/usr/bin/perl -w
    
    ...
        }
        print "========  end $i\n\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2015-07-29 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls