'&' is a deprecated (or just old-fashioned) form of calling a subroutine.
$dir is surrounded by () to force list context. Read about scalar and list context in perldata or google for 'perl context'
In reply to Re: please explain some code
by jethro
in thread please explain some code
by manishrathi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |