Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Outer Join on 2 files

by Happy-the-monk (Abbot)
on Apr 18, 2015 at 07:56 UTC ( #1123857=note: print w/replies, xml ) Need Help??


in reply to Outer Join on 2 files

It strikes me as odd that you split on comma (,) but in your data the delimiter is the pipe (|) symbol. Maybe it would speed up things to use that instead.

Otherwise, since your wording is SQL-speech, you might feel more at home using actual SQL on your CSV text files -- if that is what you prefer -- and go for DBD::CSV (and DBI)

I for myself have been happiest with the modernised Text CSV approach found in Text::CSV_XS or Text::CSV.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1123857]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-11-18 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?