[BACK]Return to Build.PL CVS log [TXT][DIR] Up to [local] / trango / Net-Telnet-Trango

Diff for /trango/Net-Telnet-Trango/Build.PL between version 1.5 and 1.8

version 1.5, 2007/02/05 23:10:37 version 1.8, 2007/02/06 21:19:40
Line 2 
Line 2 
 use warnings;  use warnings;
 use Module::Build;  use Module::Build;
 use File::Spec;  use File::Spec;
 # $RedRiver: Build.PL,v 1.4 2007/02/05 21:36:42 andrew Exp $  # $RedRiver: Build.PL,v 1.7 2007/02/06 20:41:10 andrew Exp $
   
 my $cfg_file = File::Spec->catfile('t', 'tests.cfg');  my $cfg_file = File::Spec->catfile('t', 'tests.cfg');
   
Line 11 
Line 11 
     license             => 'perl',      license             => 'perl',
     dist_author         => 'Andrew Fresh <andrew@cpan.org>',      dist_author         => 'Andrew Fresh <andrew@cpan.org>',
     dist_version_from   => 'lib/Net/Telnet/Trango.pm',      dist_version_from   => 'lib/Net/Telnet/Trango.pm',
       requires => {
           'perl'             => '5.6.1',
           'Net::Telnet'      => '0',
       },
     build_requires => {      build_requires => {
         'Test::More' => 0,          'Test::More' => 0,
     },      },
Line 62 
Line 66 
   
     get_su_config(\%cfg);      get_su_config(\%cfg);
   
     if (%cfg && open T,">$cfg_file") {      if (open T,">$cfg_file") {
         while (my ($key, $value) = each %cfg) {          while (my ($key, $value) = each %cfg) {
             print T $key, "\t", $value,"\n";              print T $key, "\t", $value,"\n";
         }          }
Line 74 
Line 78 
 sub get_ap_config {  sub get_ap_config {
     my $cfg = shift;      my $cfg = shift;
   
     print 'To run the AP tests, we need an IP and a password for an AP.', "\n";      print 'To run the AP tests, we need an IP and a password of an AP.', "\n";
   
     $cfg->{AP}        = $builder->prompt("AP IP: ", $cfg->{AP}) || return;      $cfg->{AP}        = $builder->prompt("AP IP: ", $cfg->{AP}) || return;
     $cfg->{AP_PASSWD} = $builder->prompt("AP Password:", $cfg->{AP_PASSWD})      $cfg->{AP_PASSWD} = $builder->prompt("AP Password:", $cfg->{AP_PASSWD})

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>