Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: unexpected loop behaviour when pattern matching

by ikegami (Patriarch)
on Dec 14, 2009 at 15:58 UTC ( [id://812725]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Unmatched ( in regex; marked by <-- HERE in m/mozilla/5.0 ( <-- HERE m
    +acintosh; u; safari/525/ at script.pl line 30.
    
  2. or download this
    # Does $user contain the string from $useragent
    $user =~ /\Q$useragent\E/
    
  3. or download this
    # Is $user equal to the string from $useragent
    $user =~ /^\Q$useragent\E\z/
    
  4. or download this
    # Is $user equal to the string from $useragent
    $user eq $useragent
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2024-04-18 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found