Mega Code Archive

 
Categories / Perl / String
 

Using quotemeta

$text = quotemeta('I said "Hello."'); print $text;