in reply to using glob to get files

Perhaps you are shell-shocked.

Do you mean/need:

my $INFOFILE = "$ENV{HOME}/DATA";
Be well.