May 5, 1999, 11:28 AM
Administrator (9387 posts)
May 5, 1999, 11:28 AM
Post #3 of 3
Views: 2706
I think that should be:
$input =~ m/\.(gif|jpg|txt)$/;
You need to escape the period, and you don't want the end of line match on each alteration.
Cheers,
Alex