in reply to Re: Glob Misbehavin'
in thread Glob Misbehavin'

or - to be able to use the scalar variable and not having to change the rest of the program

my ($txt) = glob("$dir/*.txt");

-- Hofmator