CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
complicated matching


New User

Sep 12, 2002, 8:11 AM

Post #1 of 3 (1038 views)
complicated matching Can't Post

Hi, I need help!

I'm trying to carry out a tricky report. From a log file i've extracted logons and logoffs to two separate files and nicely formatted them into "|" separated columns. What i need to do know is to match up logoffs with corresponding logons. This means matching on two columns (port and user).

Any one got any pointers they could suggest as the most appropriate way forward.

Thanks in advance


Thaumaturge / Moderator

Sep 12, 2002, 11:00 PM

Post #2 of 3 (1030 views)
Re: [Allansky] complicated matching [In reply to] Can't Post

Can we see the code?

Dave Cross, Perl Hacker, Trainer and Writer
Get more help at Perl Monks

New User

Sep 13, 2002, 2:00 AM

Post #3 of 3 (1023 views)
Re: [davorg] complicated matching [In reply to] Can't Post


the script is in two and a bit parts.

Part one separates the big log file into three then calls the second script (via a one line script to handle the parameters) to format these files into columns.

the big script is courtesy of Perl Cookbook.


Attachments: (4.20 KB)


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives