in reply to Getting To Grips With Taint - And Picking Up Files
I guess you could loose the 'ls' call with opendir and friends. Doesn't require any module.
opendir D, "/var/log/accounts"; @file=readdir(D); closedir D;
In Section
Seekers of Perl Wisdom