View Single Post
Old 03-04-2006, 06:57 PM  
ThunderBalls
So Fucking Banned
 
Industry Role:
Join Date: Oct 2002
Location: Mesosphere
Posts: 2,926
Can anyone help with some Perl code?

What would be the proper syntax for this line if I want it to return 1 if anything in the $imageFilename contains .jpg? I know eq isnt right.

if ($imageFilename eq .jpg) { return 1; }
ThunderBalls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote