Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Find and replace based on unique identifier

by Cristoforo (Curate)
on Aug 20, 2018 at 19:22 UTC ( [id://1220738]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print map {$_->[0]}
          sort {$a->[1] <=> $b->[1]}
          map {[$_, /^Conn Culvert Barrel=Culvert(\d+)$/m]} <$new>;
    
  2. or download this
    Connection Culv=This is Line1 - New text here
         111 111 This should be new too
    ...
         333 333 This should be new too
    Conn Culvert Barrel=Culvert3
    *
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found