AW: [Perl-unix-users] Help with Getopt::Long

2003-03-26 Thread Merrill Cornish
Tim and Satish, At the top of the GetOptions() documentation is the statement that it is for _options_, things that may or may not be included on the command line. The = merely says that _if_ the optional argument was specified, it needs to have a value. Merrill _

[Perl-unix-users] forks, threads, and ssh

2003-02-19 Thread Merrill Cornish
OK, here's what I'm trying to do: I am trying to write a script that will be given a command, and that script is to run that command on a number of other remote machines in parallel, then collect the STDOUTs from these remote executions and report back to the user running my script. Let's assu

[Perl-unix-users] Forks vs Threads on Unix?

2003-02-08 Thread Merrill Cornish
On Windows, forks and threads have similar start-up overheads and memory requirements since they are implimented with the same underlying mechanism. However, Unix has a real fork(). So how does forking a process compare in start-up time and memory requirements as compared to creating a new thre