On Apr 26, 2006, at 22:50, $Bill Luebkert wrote:
or simpler if you just are interested in ucmvob being present:

        return $Output =~ /ucmvob/ ? 1 : 0;

Or to make sure that it is not a substring within another "word":

        return $Output =~ /\bucmvo\b/ ? 1 : 0;

The "\b" will match at a "word" boundary (including the parenthesis, space, or comma).

        dZ.

--
[localhost] # chown -R us /usr/home/*/base

_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to