Help for this page

Select Code to Download


  1. or download this
    sub get_text_parts {
        my @parts = shift->parts;
    ...
        return $parts[0] if $which =~ /text/; 
        return $parts[1] if $which =~ /html/;
    }
    
  2. or download this
    $ ./grab.pl mime4 html
    line1
    ...
    line2
    line3
    $