in reply to Re: why scalar(@array) is not numeric?in thread why scalar(@array) is not numeric?
use File::Slurp; my @files = read_dir( '/path/to/dir' ) ; [download]