WWW::Mechanize::field problem

2014-12-04 Thread Patton, Billy N
I’m having trouble with setting a field on a web page. Here is how I’m attempting to do this: ## ## fourth page ## ok($mech->form_name('ftp_information'),"getting the ftp_information form"); ok($mech->field('pFTPHostname','dogs'), 'Setting ftp host name to dogs'); ok($mech->field('pFTP

Re: At wits end CGI

2014-12-03 Thread Patton, Billy N
ng the debugger to stop execution inside there and looking at what that call from CGI->new() is actually returning. chrs, john. On Tue, Nov 25, 2014 at 7:56 AM, Patton, Billy N mailto:billy.pat...@h3net.com>> wrote: OS : mac 10.10.1 Yosemite Perl version : 5.16.0 (perlbrew) I have

Re: CGI::Application::Plugin::TT

2014-11-13 Thread Patton, Billy N
Doing the perlbrew thing now. perl -MTemplate -e 1 returned nothing But I did a sudo cpan Template and it told me it was up to date. Hopefully this perlbrew will help things out. thanks for the info. On Nov 12, 2014, at 8:50 AM, John SJ Anderson mailto:geneh...@genehack.org>> wrote: perl -MTempla

CGI::Application::Plugin::TT

2014-11-12 Thread Patton, Billy N
I’ve , mistakenly, updated to Mac OS 10.10 Yosemite. That completely caused my app to fail in Apache 2.4. Looks like it might be a version problem for TT.pm I’ve tried to install a new TT.pm from cpan but it tells me that it is up to date. I’ve tried changing the Template->new to HTML::Template->

using string as module

2014-11-08 Thread Patton, Billy N
I currently have something like this use MyFoo::ABCBar; use MyFoo::DEFBar; use MyFoo::HIJBar; my $fooABC = MyFoo::ABCBar->new(); … What I would like to do is foreach $pgm ( ‘ABC’ , ‘DEF’ , ‘HIJ’) { my $foo = MyFoo::{$pgm}Bar->new; … } This gives me an error. What is the correct syntax?