← Back to team overview

sslug-teknik team mailing list archive

NETRC problem

 

Hej guruer,

Kører på produktionsmaskiner (Solaris) et Perl script, som på en enkelt maskine giver periodiske problemer. Flg. linier får den til at exitte Perl programmet i nogle tilfælde (men ikke altid...):

Fra starten af programmet:
$homeDir = $ENV{HOME};
$netrc = "$homeDir"."/.netrc";

Når den rammer nedenstående exitter den uden fejlmelding, men ikke hver gang:

open(NETRC, ">$netrc") || die "cannot open $netrc: $!\n";
print NETRC "machine $system login $login password $password macdef init\n";
print NETRC "ascii\n";
print NETRC "lcd $path\n";
print NETRC "cd $ftp_path\n";

Nogen råd??

Best Regards/Med venlig hilsen
Torben Andersen
Production Engineer

Flextronics
Special Business Solutions
Hjortevej 4
DK-7800 Skive
Denmark

+45 96 14 30 00 main
+45 96 14 31 50 direct
+45 96 14 31 44 fax
+45 xx xx xx xx mobile

http://www.flextronics.com


Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message


Follow ups