File: nodisp

package info (click to toggle)
libmime-lite-perl 3.033-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: perl: 1,848; makefile: 9
file content (21 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w

use MIME::Lite;
use strict;

my $msg = MIME::Lite->new(From => "me",
			  To => "you",
			  Subject => "hello",
			  Type    => "multipart/mixed");

my $part = $msg->attach(Type => "text/plain",
			Path => "/home/eryq/.cshrc",
			Encoding => '7bit');


$msg->scrub;
$msg->print;