in reply to word search in perl script

If you are looking for a particular word in $SYNC then it should be on LHS of the regex and the word on the RHS.
# if ( 'IN_SYNC' =~ /$SYNC/mi ) if ( $SYNC =~ /IN_SYNC/mi )
poj

Replies are listed 'Best First'.
Re^2: word search in perl script
by cbtshare (Monk) on Feb 08, 2020 at 21:27 UTC
    Thank you