bot.pl untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl -w
2 use strict;
3 use IRC::Bot;
4  
5 my $bot = IRC::Bot->new(
6 Debug => 0,
7 Nick => 'PerlBot',
8 Server => 'irc.ecnet.org',
9 Pass => '',
10 Port => '6667',
11 Username => 'TestBot',
12 Ircname => 'TestBot',
13 Admin => 'admin',
14 Apass => 'changeme',
15 Channels => [ '#perl' ],
16 LogPath => '',
17 NSPass => ''
18 );
19 $bot->daemon();
20 $bot->run();