[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] confusing error message



At 01:50 AM 10/5/00, Scott R. Godin wrote:
 ># Can't call method "login" without a package or object reference.
 >
 >VERY confusing error message considering that the only problem is that I'm
 >not yet connected to the internet (cuz I forgot ;) via Remote Access

Sounds reasonable to me. I have no clue if I'm speaking the truth, but it 
sounds like your Net::FTP object is never coming into existence because 
Net::FTP couldn't connect to that server (because of your lack of 
connection). Since you don't do any error checking, the script tries to 
call the login method for an object that doesn't exist...

Kevin Hemenway
-- -----------------------------------------------------------------
Total Net NH, LLC             EMAIL: <info@totalnetnh.net>
15 Pleasant St., Suite 11     WEBSITE: <http://www.totalnetnh.net/>
Concord, NH 03301             PHONE: (603) 225-8422
--------------------------------------------------------------------



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org