Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    
    my @emptyfiles = grep { /\d/ } grep { -f } glob '*';
    
  2. or download this
    my @emptyfiles = grep { /^\d+$/ } grep { -f } glob '*';