darxus on Fri, 23 Jun 2000 16:29:53 -0400 (EDT)


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

Re: require instead of use


On Fri, 23 Jun 2000 darxus@chaosreigns.com wrote:

> But when I load it with require(), I don't get the new() subroutine, which
> I need.  I tried doing "import Net::FTP 'new'", but that.. didn't help.

Please forgive me... 

require Net::FTP;
import Net::FTP;

did work... when I put it where it'd get executed.
___________________
www.ChaosReigns.com

**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**