in reply to Re: how do i extract file names that aren't soft links
in thread how do i extract file names that aren't soft links

Why do people do the clunky readdir dance when glob() or <*> would do just as nicely in far less space and trouble? In this case, it's even worse, since readdir lists "hidden" files but globbing doesn't.
my $dirname = 'foo'; my @non_symlinks = grep { not -l } <$dirname/*>;

--
[ e d @ h a l l e y . c c ]