in reply to Re^2: Permission & size are not visible
in thread Permission & size are not visible
Just look at the code after the second paragraph of readdir, where the intended location of "prepend" is shown. The location is not in the readdir() call, but in the later usage, because readdir() only returns the bare name, not the full path to the directory entry.
@dots = grep { /^\./ && -f "$some_dir/$_" } readdir($dh);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Permission & size are not visible
by gaurav (Sexton) on Jun 19, 2013 at 09:33 UTC |