Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: question about finding strings (regexes and slurping files)

by ww (Archbishop)
on Nov 28, 2017 at 16:18 UTC ( [id://1204443]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     #!/usr/bin/perl
     use strict;
     use warnings;
    ...
        ...PRECEEDING THE FIRST INSTANCE OF $string!
     no searchstring here
     endit
    
  2. or download this
    F:\PMonks\>1204380.pl
    full original line with a match:  123 abcde this sentence has foo bar 
    +tryna much too long for my taste  CONTAINS MATCH
    
    ...
            match: gully and TRYNA upside of
    
    F:\PMonks>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-03-28 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found