Newsgroups: comp.lang.perl.misc
From: Andy <Ramr...@gmail.com>
Date: Tue, 13 May 2008 08:25:00 -0700 (PDT)
Subject: A little Direction Please
Greets :)
Q; I am trying to learn how to define some variables The basis of this script is to Scrub log files for ftp logins, Then create an array ( I hope the right terminology) to seperate it I hardcoded the log file, because I am looking for a way for it to but ...hey step by step right. Fields: date time c-ip cs-username cs-method cs-uri-stem sc-status sc- This field 226 0 - is a successful login My plan is to scrub the logs, export to file. sort fields into variable. I hope in the end to get 1..log of successful logins I know that there are those of you who are advanced, I would Again I am trying to put this together this is what I have so far. #!/usr/bin/perl open(INPUT, '<', "ex080120.log")or die("Could not open log file."); } close(INPUT); close(OUTPUT); exit; You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||