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

Re: unexpected loop behaviour when pattern matching

by ikegami (Pope)
on Dec 14, 2009 at 15:58 UTC ( #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
Node Status?
node history
Node Type: note [id://812725]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-06-19 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?