I was expecting it to go UP by 1 each time in the loop, but it stayed at 5. Why?
Because getpgrp returns the current process group. You want the current Process Id which is in the $$ variable.
In reply to Re: Perl File Handle Count not working as expected, why?
by jwkrahn
in thread Perl File Handle Count not working as expected, why?
by radnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |