in reply to Dots appearing when opening a directory

What would be a solution to get rid of those dots?
File::Slurp read_dir removes them by default:
use warnings; use strict; use File::Slurp qw(read_dir); for my $file (read_dir('.')) { print "$file\n"; }

Replies are listed 'Best First'.
Re^2: Dots appearing when opening a directory
by The_Last_Monk (Novice) on Mar 06, 2015 at 17:13 UTC
    Unfortunately, the perl version we need to use is about 8 years old, and doesn't have the File library in it, so can't use tht :(