Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Repeating Code - there has GOT to be a better way!

by GrandFather (Sage)
on Mar 31, 2010 at 20:14 UTC ( #832143=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $loopVar = 10;
    
    ...
    }
    
    print $loopVar;
    
  2. or download this
    my $loopVar = 10;
    my @values = (0 .. 4);
    ...
    }
    
    print "$loopVar, @values";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-05-05 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (112 votes), past polls