Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Pattern problem

by ikegami (Patriarch)
on Jan 27, 2006 at 18:51 UTC ( [id://526051]=note: print w/replies, xml ) Need Help??


in reply to Re: Pattern problem
in thread Pattern problem

$text =~ /Host System (?!#)/ is correct too. However, [^#] is probably faster and an acceptable replacement in this case.

The problem is
if $text =~ /Host System (?!#)/ next;
was used instead of
if ($text =~ /Host System (?!#)/) { next; }
or
next if ($text =~ /Host System (?!#)/);
or
next if $text =~ /Host System (?!#)/;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found