Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 exploiting the Monastery: (6)
As of 2014-10-21 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (94 votes), past polls