At 17:29 +1000 2001.02.25, Lord Praetor Satanus of Acheron wrote:
>I just downloaded and tried out Bill Weinman's BW-WHOIS on MacPerl, and got
>output which suggests it's not handling the line terminators of the WHOIS
>service output correctly.
You're probably correct. Have you considered the Net::Whois module from
CPAN? It should work properly.
>I've even tried experimenting with different $/ settings prior to the USE
>statements with no effect.
What values did you try? I would try $/ = "\015\012".
>$/ = "\n";
That is what its value already is. \n is CR in MacPerl.
>Is there a way to make the IO:: parts tolerant of different line
>terminators? This should be a FAQ! :)
See perlport.pod (not included with MacPerl, but included with latest Unix
perls, and on http://pudge.net/macperl/ and dozens of other places).
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/