LA.pm: Quotes
Douglas Wilson
dgwilson at gtemail.net
Wed Oct 17 19:12:39 CDT 2001
From: Arkadiy Sudarikov <asudarikov at xceed.com>
> Heya, kids, I have a perl code that's got both ' and " (I can't substitute
> them, unless, of course, I do, like, \cddd or something). I want to run it
> with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's
> your suggestions?
w/*nix you can just wrap the whole thing in
double quotes, then just backslash any inner
double quotes. And/or use q{} or qq{} if that's
all you're using the inner quotes for.
-Doug
--
_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
http://www.net2phone.com/cgi-bin/link.cgi?143
More information about the Losangeles-pm
mailing list