SHEIKH Sajjad wrote:
>
> I am trying to print the tables but I get the compilation error.
> Error "syntax error at c:\ind.pl line 23, near ""<tr><td id="disclaime"
> Execution of c:ind.pl aborted due to compilation errors.
> "
>
> Can someone tell why it is generating error message?
You can't put double quotes within a double-quoted string. I recommend
using single quotes where you don't need to include control characters
or interpolate variables, like this:
print $query->p('<tr><td id="disclaime" bgcolor="#999999">');
or instead use another delimiter that doesn't appear in the string:
print $query->p(qq{<tr><td id="disclaime" bgcolor="#999999">});
HTH,
Rob
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs