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

Re: Matching and concatenating similar Eventids

by MonkE (Hermit)
on Jun 02, 2006 at 17:05 UTC ( #553338=note: print w/replies, xml ) Need Help??


in reply to Matching and concatenating similar Eventids

If I understand your problem correctly, I recommend that you use a binding operator like so in case of a duplicate:
if (you-have-a-duplicate) { $data{$other_file} =~ s/^([^\|]*)\|/\1\/$other_file\|/; $data{$open_file} = "$open_file/$other_file|$status|$event_id|$msci +_sec_code"; }
This will add the filename to both the open file and the "other" file's entry.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-02-07 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?