Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: word search in perl script

by poj (Abbot)
on Feb 08, 2020 at 13:35 UTC ( [id://11112620]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

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

    No recent polls found