in reply to Dots appearing when opening a directory
next if $text =~ /^\.+$/; [download]
(untested)
NB: this will also exclude files consisting of dots only.
otherwise
next if $text =~ /^\.\.?$/; [download]
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
PS: Je suis Charlie!