Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How to ignore lines that match certain string after it is matched for the first time within a same file

by Ben328 (Novice)
on Sep 19, 2012 at 23:04 UTC ( [id://994559]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Today is amazing.nice day 
    Today is amazing.nice but still I haven't done anything 
    Yesterday was just a normal day 
    Tomorrow probably will be amazing.new day
    
  2. or download this
    Today is amazing.nice day  
    Tomorrow probably will be amazing.new day
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
                            @allstrings = ($string);
                            }
       }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found