This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
shared hash keys and ++/--
[perl5.git] / lib / Net / t / require.t
CommitLineData
302cc833
GB
1#!./perl -w
2
3BEGIN {
4 unless (-d 'blib') {
5 chdir 't' if -d 't';
6 @INC = '../lib';
7 }
8b14f033
JH
8 if (ord('A') == 193 && !eval "require Convert::EBCDIC") {
9 print "1..0 # EBCDIC but no Convert::EBCDIC\n"; exit 0;
10 }
302cc833 11}
406c51ee 12
85657ebf 13print "1..9\n";
406c51ee
JH
14my $i = 1;
15eval { require Net::Config; } || print "not "; print "ok ",$i++,"\n";
16eval { require Net::Domain; } || print "not "; print "ok ",$i++,"\n";
17eval { require Net::Cmd; } || print "not "; print "ok ",$i++,"\n";
18eval { require Net::Netrc; } || print "not "; print "ok ",$i++,"\n";
19eval { require Net::FTP; } || print "not "; print "ok ",$i++,"\n";
20eval { require Net::SMTP; } || print "not "; print "ok ",$i++,"\n";
21eval { require Net::NNTP; } || print "not "; print "ok ",$i++,"\n";
406c51ee
JH
22eval { require Net::POP3; } || print "not "; print "ok ",$i++,"\n";
23eval { require Net::Time; } || print "not "; print "ok ",$i++,"\n";
24
25