|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Adding Files in a directory to an arrayby davorg (Chancellor) |
| on Oct 09, 2001 at 13:21 UTC ( #117674=note: print w/ replies, xml ) | Need Help?? |
|
Yeah, you can't do that, because Perl gets confused between the globbing operator (<*.txt>) and the file input operator (<FILE>). The way to do it it to use the glob function instead. -- <http://www.dave.org.uk> "The first rule of Perl club is you don't talk about Perl club."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||