ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/staticperl/perl/lib/Net/demos/inetd
Revision: 1.1
Committed: Thu Jun 30 14:27:14 2005 UTC (21 years, 5 months ago) by root
Branch: MAIN
CVS Tags: PERL-5-8-7, HEAD
Branch point for: PERL
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/usr/local/bin/perl
2
3 use Net::DummyInetd;
4 use Net::SMTP;
5
6 $p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs);
7
8 $smtp = Net::SMTP->new('localhost', Port => $p->port, Debug => 7);
9 $smtp->quit;