[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible breakage in HTTP::Date or Time::Local



On Fri, 24 Aug 2007, Roberto C. Sánchez wrote:
> I am still a relative Perl newbie, so I don't know anything about
> the debugger. I will investigate and try and report back on this. If
> you have a link that will help me get started on this, I would
> appreciate it.

perldoc perldebug; or in this case,

perl -d vonage-calls.pl;
b Time::Local::timegm;
r;
T;

> OK.  I made the output more verbose (obviously the phone number is
> obfuscated):
> 
> Adding call 11856261279 to the database...
>         Using values: 11856261279, Aug 24, 2007 06:30 PM, , 10000000000, Voicemail, 00:01:00
> ERROR:  syntax error at or near "$2" at character 119

What I'm missing here is where the "$2" is comming from; knowing the
actual query (or as close as can be gotten) that is being run would
help.

DBI->trace(3); or so should help provide that information.


Don Armstrong

-- 
When I was a kid I used to pray every night for a new bicycle. Then I 
realised that the Lord doesn't work that way so I stole one and asked
Him to forgive me.
 -- Emo Philips.

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: