in reply to Combining Files

Have you considered using the Unix join command? This is exactly the kind of task that it handles.

If you don't already have join, you can get a Perl implementation from the Perl Power Tools project.

Replies are listed 'Best First'.
Re: Re: Combining Files
by ImpalaSS (Monk) on Jan 23, 2001 at 20:07 UTC
    Chipmunk,
    Thanks for your assistance. One more question, how would i go about running a unix command inside of a perl script? thanks

    Dipul
      He was offering it as a suggestion to avoid having to write a Perl script to do this at all. You described it as a problem that you need solved, not as a small piece of a puzzle that you're writing a larger Perl script to solve. If it's a problem in and of itself, just use a simple pre-written non-Perl tool to do it, if that's the best thing to do.