Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Extracting data from each line that matches a email address from a Log file (Tab delimited)

by Moriarty (Abbot)
on Oct 11, 2005 at 00:53 UTC ( #498992=note: print w/ replies, xml ) Need Help??


in reply to Re: Extracting data from each line that matches a email address from a Log file (Tab delimited)
in thread Extracting data from each line that matches a email address from a Log file (Tab delimited)

Wouldn't it have been better to just show the op the Perl version?

I believe it comes out something like this :-

while (<>) { my @Fld = split('\t', $_); if (/Auser/) { print $Fld[0], $Fld[1], $Fld[7], $Fld[19]; } }


Comment on Re^2: Extracting data from each line that matches a email address from a Log file (Tab delimited)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://498992]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-30 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls