Help for this page
my $items_in_dir = @Dircontent; if ($items_in_dir > 2) ..
use strict; use warnings; ... scandir('.',\&do_something); scandir('.',\&do_something_else);