arunsub has asked for the wisdom of the Perl Monks concerning the following question:
Error :-******************************************************** #script to ftp AI executables to different machines<br> # Requirements Perl 5.8 or higher to support Thread use Thread; $thread0= Thread->new<br>(sendftp, "#HOST","#USER","#PASSWORD"); $_->join foreach ($thread0); sendftp("#Host","#User","#Password"); sub sendftp { $FileList="installServer.jar "; $Temp1 = Thread->self->tid(); exec `sendftp.sh $_[0] $_[1] $_[2] `; exit(0); }
Edit by castaway - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Thread Error
by Zaxo (Archbishop) on Dec 17, 2003 at 06:29 UTC | |
by castaway (Parson) on Dec 17, 2003 at 07:55 UTC | |
by arunsub (Novice) on Dec 17, 2003 at 06:40 UTC | |
by castaway (Parson) on Dec 17, 2003 at 07:47 UTC |