(I suspect that the value of $dirname does not end in a slash, so just concatenating it with the file name would be wrong.)@fils = grep { -f "$dirname/$_" } readdir DIR;
In reply to Re: Re: automating linux commands in perl
by graff
in thread automating linux commands in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |