next if $text =~ /^\.+$/;
(untested)
NB: this will also exclude files consisting of dots only.
otherwise
next if $text =~ /^\.\.?$/;
In reply to Re: Dots appearing when opening a directory
by LanX
in thread Dots appearing when opening a directory
by The_Last_Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |