On Wednesday 06 June 2001 18:25, Craig Moynes/Markham/IBM wrote:
> So I fail to see the problem. It seems to work if I change the use line
> to: "use IO::Socket;" but that is 'incorrect' or at the very least
> imprecise right ?
>
>
That's correct. With 'use', you are saying what should be the name of .pm
file with module - and it's IO::Socket. Inside that file, there is defined
package IO::Socket::INET (among other things). In short: package file name
does not necessarily have to match package name.
--
Ondrej Par
Internet Securities
Software Engineer
e-mail: [EMAIL PROTECTED]
Phone: +420 2 222 543 45 ext. 112