Gunnar Hjalmarsson wrote:


@ARGV = readdir BIN;

OTOH, you probably want to exclude at least the '.' and '..' directories, so maybe


    @ARGV = grep { !/^\./ } readdir BIN;

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to