in reply to Regular expression to list all files of type in folder
In case it's a case issue, you could try:
$file =~ m/\.jpg$/i
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (186 votes). Check out past polls.