in reply to please explain some code
If you want to declare more than one my variable at one time, the list of variables must be enclosed in parentheses. Many Perl coders get into the habit of always putting the list in parentheses, even if it contains only one entry.
The statement, my (@dirs, $list); could have been written as two statements.
|
|---|