Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: glob() and dot files

by Marshall (Canon)
on Apr 13, 2020 at 05:05 UTC ( [id://11115417] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @files = glob ('*.*');
    print "",join("\n",@files),"\n"
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    print "@files\n";
    print "@directories\n";