Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Outer Join on 2 files

by Happy-the-monk (Canon)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1123857]
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-07-20 16:35 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (438 votes). Check out past polls.