Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 studying the Monastery: (6)
As of 2014-12-21 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls