> Hi all, > I'm having trouble formatting a SQL statement. > Here's what I have: > $SQL = " ... > ((Measurements.msmTag)=\'<tag>\') > AND(Targets.TargetID)=187) ..."; > > When I do a screen print I get: > ... ((Measurements.msmTag)='<>') ... > > If I escape the <> > $SQL = " ... > ((Measurements.msmTag)=\'\<tag\>\') > AND(Targets.TargetID)=187) ..."; > > When I do a screen print I still get: > ... ((Measurements.msmTag)='<>') ... > > I tried this: > $SQL = " ... > ((Measurements.msmTag)=\'\<\ttag\>\') > AND(Targets.TargetID)=187) ..."; > > When I do a screen print I get: > ... ((Measurements.msmTag)='< tag>') ...
Any chance of sending the unedited code you're working with? Failing that, try using the q// or qq// string delimiters. Also remember that \\ is a backslash in a double-quoted string. _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
