Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: To Pattern Match or not to Pattern Match

by Anonymous Monk
on Mar 04, 2005 at 00:14 UTC ( [id://436420]=note: print w/replies, xml ) Need Help??


in reply to Re: To Pattern Match or not to Pattern Match
in thread To Pattern Match or not to Pattern Match

I think the problem here is that it loops through the 1st 10 names in @names and since none of those 10 matches it prints out "Name does not exist" 10 times. I need it to loop through all 20 strings in @names and if it doesnt find a match then print "Name does not exist" only once, buts only my guess.
  • Comment on Re^2: To Pattern Match or not to Pattern Match

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found