Solved

excuse me

Posted on 2001-06-11
1
165 Views
Last Modified: 2011-09-20
# Why not...

21x{#instructions}
5x{#instructions}
30x{#instructions}

# Instead of...

for($i=0; $i<$21; $i++)
 {
  #further instructions
 };

for($i=0; $i<$5; $i++)
 {
  #further instructions
 };

for($i=0; $i<$30; $i++)
 {
  #further instructions
 };
0
Comment
Question by:superquestions
1 Comment
 
LVL 84

Accepted Solution

by:
ozo earned 0 total points
ID: 6179528
eval q{instructions;} x 21
for(1..5){
#further instructions
}
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now