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

Re: Matching and concatenating similar Eventids

by MonkE (Hermit)
on Jun 02, 2006 at 17:05 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found