http://www.perlmonks.org?node_id=979346


in reply to Re^2: quickest way to find number of files in a directory?
in thread quickest way to find number of files in a directory?

Welcome, see The Perl Monks Guide to the Monastery, new questions go in Seekers Of Perl Wisdom

It works with just <*.pl> but I can't get the variable to work.

It should work. If its not working, the path must not exist, or cwd isn't what you think it is , things like that

Replies are listed 'Best First'.
Re^4: quickest way to find number of files in a directory?
by zoroaster (Initiate) on Jul 19, 2012 at 20:19 UTC
    Yes, it was mistake on my part - it works with variables, too. Sorry about that.