- or download this
foreach my $file (@files) {
next if $file =~ m#/CVS/#;
...
$file =~ s#^\./##;
push(@noCvsDirs, $file);
}
- or download this
my $full_file = ($dir eq '.' ? $file : "$dir/$file");
- or download this
use File::Spec ();
...
File::Spec->catfile($dir, $file)
)
);