RE: Order of operations!

2001-10-31 Thread Bob Showalter
> -Original Message- > From: Matthew Blacklow [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 30, 2001 8:24 PM > To: [EMAIL PROTECTED] > Subject: Order of operations! > > > $pid = getppid; > ... > $run = "kill -9 $pid"; > system($run); S

RE: Order of operations!

2001-10-31 Thread Gary L. Armstrong
1, 2001 4:35 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Order of operations! . Could be a problem of path of a.out (Why you use kill -9 ? You can use a normal TERM signal, with kill $pid) Walter > Below is some perl code which works fine when executed locally, however

Re: Order of operations!

2001-10-31 Thread walter valenti
Could be a problem of path of a.out (Why you use kill -9 ? You can use a normal TERM signal, with kill $pid) Walter > Below is some perl code which works fine when executed locally, however when > I telnet to the system it is on and and it is run things are not run in the > correct orde

Re: Order of operations!

2001-10-30 Thread Rob
Have you tried using the complete path to a.out? (ie /home/myname/bin/a.out) On Wed, 31 Oct 2001, Matthew Blacklow wrote: > Below is some perl code which works fine when executed locally, however when > I telnet to the system it is on and and it is run things are not run in the > correct order.

Order of operations!

2001-10-30 Thread Matthew Blacklow
Below is some perl code which works fine when executed locally, however when I telnet to the system it is on and and it is run things are not run in the correct order. In fact it skips the first system call all together. Any suggestions on how to fix this? #!/usr/bin/perl $pid = getppid; print

RE: order of operations

2001-09-07 Thread pconnolly
It checks for the existence of a value and then increments if there is one. > -Original Message- > From: Cohan, Drew [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 07, 2001 10:46 AM > To: [EMAIL PROTECTED] > Subject: order of operations > > > Hi,

Re: order of operations

2001-09-07 Thread Kevin Meltzer
Hi Drew, On Fri, Sep 07, 2001 at 11:45:34AM -0400, Cohan, Drew ([EMAIL PROTECTED]) spew-ed forth: > Hi, > > I don't understand something about Perl's order of operations with this > code: > > ...if ($name_count{$member}++)... Using ++ (or --) after the variable

order of operations

2001-09-07 Thread Cohan, Drew
Hi, I don't understand something about Perl's order of operations with this code: ...if ($name_count{$member}++)... Does Perl retrieve the value for $name_count{$member}, increase it by one, and then evaluate the if() statement? If that's true, then I don't understand how