in reply to No such file or directory when moving grep results

Alternatively you could use glob to get the list of file names in one go :)

my @files = glob( "dir/10.??.11*" );

But note that :