in reply to Re: Why can't I figure this out?????
in thread Why can't I figure this out?????
foreach my $fileline (<$dir/*>) { }
since globbing already removes dotfiles and includes the path.
Personally, I'd use Path::Tiny or Path::Class before touching opendir.
|
|---|