Extarcting And Storing a String

D

Digger

Is it possible to add another loop inside the while loop to spit out a
number "1" to a file only if a link has the FAILURE????
 
J

Joe Smith

Digger said:
Is it possible to add another loop inside the while loop to spit out a
number "1" to a file only if a link has the FAILURE????

You mean like
print LOGFILE "1" if /FAIL/;
?

That's so obvious. It's basic Perl programming.
You have learned the basics, have you not?
-Joe
 
D

Digger

You mean like
print LOGFILE "1" if /FAIL/;
?

That's so obvious. It's basic Perl programming.
You have learned the basics, have you not?
-Joe


Just starting.. lol

I actually just ordered a book recommended from http://learn.perl.org

Just a week or two into perl... lol
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top