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

[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