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);