jbl schrieb:
I am reading a directory and creating an array of .png file names. I know for a fact that there are 1025 png files in the folder
[snip]
my @files = grep !/^\.png/, readdir FILENAMES;
Try it better positive: my @files = grep /\.png$/, readdir FILENAMES; ;-) Greetings Robert -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
