On Mon, Sep 23, 2002 at 05:44:30PM -0400, Rose, Bobby wrote:
> In 2.50, should the Dns.pm module be getting the dcc_path or pyzor_path
> set in Conf.pm?  I see the refs there in Dns.pm, but no where else to
> get the actual path so therefore the tests fail.

The code takes dcc_path if it exists, or searches $PATH otherwise:

  my $dccproc = $self->{conf}->{dcc_path} || '';
  unless ($dccproc) {
    foreach my $path (File::Spec->path()) {
      $dccproc = File::Spec->catfile ($path, 'dccproc');
      if (-x $dccproc) {
        dbg ("DCC was found at $dccproc");
        $self->{conf}->{dcc_path} = $dccproc;
        last;
      }
    }
  }

-- 
Randomly Generated Tagline:
I'm tired of being a wanna-be league bowler, I wanna be a league bowler!
 
                -- Homer Simpson
                   Team Homer

Attachment: msg08050/pgp00000.pgp
Description: PGP signature

Reply via email to