Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: reading from file

by atemon (Chaplain)
on Oct 10, 2007 at 07:30 UTC ( [id://643889]=note: print w/replies, xml ) Need Help??


in reply to reading from file

For each line in file, use regex

$line =~ $line =~ m{(\w+)\s+<[\w+\@\.]+>\s+(\([\w\s]+\))[\sa-zA-Z]+(\d ++/\d+/\d+)}; print "$1, $2, $3\n";

--VC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-23 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found