in reply to Re: Re: Re: Grep Pattern Match
in thread Grep Pattern Match
perl -e '$cat = "cat"; if ($cat =~ /\143\x61\x74/) { print "Its a cat! +\n"; } else { print "Thats a dog\n"; } print "\n";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Grep Pattern Match
by BrowserUk (Patriarch) on Dec 27, 2002 at 16:00 UTC | |
by LostS (Friar) on Dec 27, 2002 at 16:18 UTC |