OS : mac 10.10.1 Yosemite
Perl version : 5.16.0 (perlbrew)
I have file cp.cgi that is the top level
It uses CP.pm
which inherits Base.pm
which inherits CGI::Application
CGI::Application Requires CGI.pm
CGI.pm has a use CGI::Util qw(… unescape …);
When I try and run cp.cgi I get a timeout.
The
I’m using WWW::Mechanize for testing my CGI.
I’m having trouble with the $mech-tick
Here’s my code :
ok($mech-form_name('cdr_format'),getting form cdr_format);
print pAllFields = . $mech-value('pAllFields') . \n;
219- ok($mech-tick('pAllFields',1), 'Setting checkbox to native CDR format');
I’ve inherited an app that uses templates.
Most of the template contain multiple forms and tables within and buttons
within that.
The order of the forms I can get from the template, most are not named forms so
I have to get them with form_number(#)
Question:
Can I depend on the form
unique identifiers to the forms,
because then you won't have to worry about it.
chrs,
john.
On Mon, Nov 3, 2014 at 6:41 AM, Patton, Billy N billy.pat...@h3net.com
wrote:
I’ve inherited an app that uses templates.
Most of the template contain multiple forms and tables within and buttons
-- then yes, the numbers
should be stable.
My suggestion would be to just add unique identifiers to the forms,
because then you won't have to worry about it.
chrs,
john.
On Mon, Nov 3, 2014 at 6:41 AM, Patton, Billy N billy.pat...@h3net.com
wrote:
I’ve inherited an app that uses