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 trying to use the Netrc module to read from t

re: NET::Netrc

2002-09-30 Thread William Black
Hello All, I'm trying to use the Netrc module to read from the netrc file. Anyone familiar with it? Below is the code. I'm getting an error stating Can't call method "password" on an undefined value at ftp.pl line 28. Here is the code. Anyone see the problem. #Get the username and passwd