Thread: My first .pl
View Single Post
  #15  
Old 02-24-2005, 03:43 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

That's the reason on eqlive you have to say the phrase "bind my soul". But Perl will misinterpret it if you just try to put the phrase in there with spaces.

Try to put backslashes in front of the spaces in the regex.
Code:
if($text=~/bind\ my\ soul/i)
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote