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

Re: Random email parsing

by ZZamboni (Curate)
on Jun 08, 2001 at 18:54 UTC ( [id://86919]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    foreach (keys %db) {
            print "Title: $_\nBody: $db{$_}";
    }
    
  2. or download this
    @body=split /\n/, $body, 4;
    
  3. or download this
    my @lines=split /\n/, $body;
    my @hdr;
    ...
      push @hdr, $l;
    }
    $body=join("\n", $l, @lines);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found