I can't answer why, but if you are counting users by the number of directories off the path supplied, the there is no need to go to all that trouble.
$users = grep{ -d $_ } glob('/home/virtual/xms.ms/home/*');
Would probably be heaps quicker.
Examine what is said, not who speaks.
In reply to Re: Runing Command
by BrowserUk
in thread Runing Command
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |