|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Perl globbing syntax with $variables?by abualiga (Sexton) |
| on Aug 01, 2012 at 20:41 UTC ( #984891=note: print w/ replies, xml ) | Need Help?? |
|
I think the problem is in '*.*'. Perhaps this would work better:
If you also wanted the dot files from that directory, then: @files = <$WantedFiles/* $WantedFiles/.*>;Perl expands variables to current values before globbing them (Learning Perl).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||