Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Finding a Block of Text in a Larger Block of Text

by pvaldes (Chaplain)
on Oct 13, 2011 at 16:21 UTC ( #931302=note: print w/replies, xml ) Need Help??


in reply to Finding a Block of Text in a Larger Block of Text

1) An exact duplicate

perldoc -f index

Replies are listed 'Best First'.
Re^2: Finding a Block of Text in a Larger Block of Text
by kennethk (Abbot) on Oct 13, 2011 at 18:11 UTC
    Note this will only work if 'exact duplicate' is order sensitive. If the modifier-order is irrelevant, this comparison with fail since index will check for identical strings.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-08-13 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?