re: NET::Netrc

2002-09-30 Thread William Black
t the username and passwd of the remote mach. $mach = Net::Netrc->lookup('Name'); 28:$usr = $mach->login(); #$passwd = $mach->password(); print"The usr is -> $usr\n"; #print"The passwd is -> $passwd\n"; William Black

Re: NET::Netrc

2002-09-30 Thread Ramprasad A Padmanabhan
I havent used this module but look at catching errors it "could be" something like this $mach = Net::Netrc->lookup('Name') || die Net::Netrc->error() Bye the way you have you created your .netrc file William Black wrote: > Hello All, > > I'm try