> > You can use any quoting mechanism you like: > > > > ...("This is a programmer's ...") > > ...([EMAIL PROTECTED] is a programmer's ...@) > > etc. > > Sorry for the Perl question. > Is the "q" in "([EMAIL PROTECTED] is a programmer's ...@)" a typo?
No, it isn't. It means "QUOTE" and allows you to quote a string with whatever character you like. Actually, I believe perl itself is a typo... Giampaolo > > > >> Also, M::SA->check_message_text('This too\') is a problem too > because of > >> > > [...] > > > >> Any ideas on the best way to handle this? > >> > > > > Well, SA won't help you with general Perl quoting, just so > we're clear this > > isn't SA specific. You could read the string into a variable > then pass the > > variable, or use one of the above methods, or something like: > > $variable = <<EOF; > > This is a programmer's ... > > blah > > foo bar > > EOF > > ...check_message_text($variable); > > > > > > I'm embedding this is C, so I have a level of C string escaping I have > to deal with too, besides not being a Perl programmer. > And, that's the crux of the original problem and question. > > Joe > > > >