At 17:04 28/08/02, Jerry wrote:
>$_ = "Who is missing the boat";
>$j  = "Jerry";
>$w = "Who";
>$_ = s/$w/$j/;


If you want the output 'Jerry is missing the boat' then you need the =~ 
operator rather than just =

ie.

$_ =~ s/$w/$j/;


Mo




Mo Holkar
Undying King Games
[EMAIL PROTECTED]
Free games! at http://www.ukg.co.uk


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to