Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Random email parsing

by ZZamboni (Curate)
on Jun 08, 2001 at 18:54 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-05-21 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?