That's most likely setting $dir to "1" (scalar context applied), and then skipping the rest of the subroutine because you don't have a directory named "1".my $dir = @_;
In reply to Re: subroutine array empty
by merlyn
in thread subroutine array empty
by davidov0009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |