![]() |
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; } |
Quote:
:thumbsup |
if ($imageFilename =~ '.jpg') { return 1; }
|
Quote:
Right on dude. Thanks! :thumbsup |
np :)
|
All times are GMT -7. The time now is 11:05 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123