There are a few options for debugging the software, and some of them
require more knowledge of the code than others.

The first option  (requiring less knowledge) is to use the following
information to pull state info in the CGI app:
1)  print STDERR
2)  $form->debug
3) $form->error

The second option is to actually create a script that can run in a
debugger.  This requires more knowledge of the inputs than you might
otherwise want to start with and it requires creating a wrapper script
to simulate the CGI input.  You could probably (in 1.2) do this by
passing the arg string to the script.

For example:
perl -d ct.pl "type=customer&action=add"

If you are using Firefox and have the webdeveloper plugin, you can
convert POST to GET methods and take the arg strings this way.

Hope this helps,
Chris Travers

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to