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: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/