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

Re: [MacPerl] MacPerl Setup



On Sat, 7 Feb 1998 18:25:51 -0700, Douglas A. Spore wrote:
>
>I'm writing a script to FTP files to my unix box. At startup of my script
I
>get the following warning messages:

[warnings deleted]

>
>I have found that these messages are bound to the statement:
>    use Net::FTP;
>Which I need to call the Net::FTP module. I have used FTP.pl in the past
>but want to use this module so I can port it to the unix boxes if I need
>to. As It stands the script does FTP the files but these messages are
>driving me nuts. I've looked at InternetConfig.pm but do not see the
>problem. Any help would be deeply appricated.
>I'm using Perl 5.1.9r4 on a Power Computing PowerCenter Pro 210 running
Mac
>OS 8.0.

The warnings can be gotten rid of by not using -w on your "shebang"
(#!perl) line or by not using "use strict;" in your code. I'm not at my
Mac at the moment, so I can't look at InternetConfig.pm or Types.pm, so it
may be that "use strict" is in them. If so, simply comment them out. Both
-w and use strict are useful tools, but sometimes they can be annoying.

>
>        Doug
>
>
>



-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch