Thread
:
Ongoing perl help
View Single Post
02-25-2006, 11:25 PM
#
2
(
permalink
)
teknomage1
Jack of all trades
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
short answer
Code:
$string1 = "adacatgas"; $string2 = "cat"; print "matched\n" if ($string1 =~ m/$string2/);
long answer:
http://www.hmug.org/man/1/perlretut.php
__________________
Stop intellectual property from infringing on me
teknomage1
View Public Profile
Find More Posts by teknomage1