Re: problem with passing variables

2011-12-30 Thread nat
Mark, I'm kind of new with perl, but from what I see, you're using a single quote when defining $sql, and it should be qq for the interpolated string. With the single quote (q) it is a literal. Hope this helps. On Friday, December 30, 2011 11:17:30 AM Mark Haney wrote: > I'm not sure

problem with passing variables

2011-12-30 Thread Mark Haney
I'm not sure if this is the right list for this, so bear with me. If it isn't I'll be glad to post it on the correct one. I've got a problem with passing variables to a SQL server inside a CGI script. My code is like this: my $begin_time = "2011-11-16 11:00:00"; my $end_time = "2011-11-16 1