Greg,
I had the same problem with the Net::Config module in a normal Perl script and
modified the code within Net::Config
if ($< == $> and !$CONFIGURE) {
# my $home = eval {(getpwuid($>))[7]} || $ENV{HOME};
# $file = $home . "/.libnetrc";
$file = "/.libnetrc";
$ref = eval { do $file } if -f $file;
%NetConfig = (%NetConfig, %{ $ref })
if ref($ref) eq 'HASH';
}
I commented out the two lines and then it works without errors.
Dirk Bremer - Systems Programmer II - AMS Department - NISC
636-922-9158 ext. 652 fax 636-447-4471
<mailto:[EMAIL PROTECTED]>
----- Original Message -----
From: "Greg Wardawy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 4:25 PM
Subject: Freestanding Net::FTP once again
Hello all,
I was trying to figure out why the NetFTP perl script works fine and the freestanding
exe built using PerlApp doesn't - no luck so
far.
Here is the situation - the perl script works fine, everything is transferred to the
current directory, no errors, no warnings but
from the freestanding exe I'm
getting the following:
####################################
Unquoted string "warnings" may clash with future reserved word at warnings/regis
ter.pm line 3.
Use of uninitialized value in concatenation (.) at Net/Config.pm line 44.
Can't locate package Net::LocalCfg for @Net::Config::ISA at Net/ftp.pm line 21.
####################################
Does anybody know how to solve this problem?
TIA
Greg.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users