UPDATE : Ah! your calling glob in scalar context! try a list context instead.
Both are supposed to work
In reply to Re^2: glob quietly fails by Anonymous Monk in thread glob quietly fails by QM