<?xml version="1.0" encoding="windows-1252"?>
<node id="229044" title="string does not contain" created="2003-01-22 10:29:37" updated="2005-05-15 15:13:49">
<type id="115">
perlquestion</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
I often use =~ to see if a string contains a value such as $string=~"hello" but how do I see if a string does not contain a value? For example say if a string does not contain "hello" do this?</field>
<field name="reputation">
6</field>
</data>
</node>
