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

Re: [MacPerl-Modules] Net::Domain without Internet connection



I have recieved an advice to forget abaout it on the MacPerl ML.

>Subject: Re: [MacPerl] Trouble with Net::Domain::hostname()
>Date: Tue, 5 Sep 2000 20:24:09 +0800
>From: robinmcf@altern.org
>Sender: owner-macperl@macperl.org
>To: macperl@macperl.org,
>   KIMURA Takeshi <kim@ga2.so-net.ne.jp> (by way of KIMURA Takeshi)
>
>>require Net::Domain;
>>print( Net::Domain::hostname(), "\n" );
>>
>>If this script is run on a Mac without Internet connection, it
>>crashes MacPerl.
>>The version of Net::Domain is 2.13.
>>
>>
>>Any advice?
>just a stab in the dark, but you may have to make sure you have a HOSTS
>file and your connection software is aware that you want to use it as your
>DNS


Joel Rees wrote on 00.9.29 3:39 PM: 
>Hi!
>
>Have you solved the problem you referred to in the post below? I think I 
>have tended to see not-good things happen, like freezing browsers, when I 
>do something unexpected to an internet connection on classic mac.
>
>>Date: Sat, 12 Aug 2000 00:25:08 +0900
>>From: KIMURA Takeshi <kim@ga2.so-net.ne.jp>
>>Subject: [MacPerl-Modules] Net::Domain without Internet connection
>>
>>Hi,
>>
>>
>>I previously reported;
>>
>>>I had a simple test script which might spot the problem.
>>>
>>>require LWP::UserAgent;
>>>$ua = new LWP::UserAgent;
>>>$request = new HTTP::Request( 'GET', 'file:///Macintosh%20HD/a' );
>>>$response = $ua->request($request, 'tmp');
>>>print $response->as_string(), "\n";
>>>
>>>This crashes MacPerl (and eventually the OS) although there is file '
>>>a' on 'Macintosh HD.'
>>
>>And now, I am getting closer to the core.
>>
>>The following script will reproduce the problem.
>>
>>require Net::Domain;
>>print( Net::Domain::hostname(), "\n" );
>>
>>If this script is run on a Mac without Internet connection, it 
>>crashes MacPerl.
>>The version of Net::Domain is 2.13.
>>
>>
>>Any advice?
>>
>>
>>- --
>>Takeshi
>
>==== Want to unsubscribe from this list?
>==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org

--
Takeshi

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