On 06/15/2012 11:04 AM, Chris Stinemetz wrote:
I /think/ the problem lies with the $attrs value. But I'm not sure what to
do to fix it.
Help?
Looks to me like you need to dereference $attrs to get the results you want.
Do you think it would work this way:
my $m = $self->sche
>
>> shift_days => [ $q->param('DoW') ]
>
>
> And it sorta works. Now, instead of getting the error message I actually
> get data in that column, but it's like this:
>
>> 14 | Second | 10:23:00 | 10:23:00 | ARRAY(0xa3a6130) |
>> 3 |
>
>
> Where the 'ARRAY' field should have in it 'MTW
On 06/11/2012 03:51 PM, Mark Haney wrote:
my %attrs = (
shift_name => $q->param('shift_name'),
shift_beg => $q->param('shift_beg'),
shift_end => $q->param('shift_end'),
factory_id => $q->param('factory'),
shift_days => $q->param('DoW'),
);
When I run the script I get this in apache's error.log
On 12-06-11 03:51 PM, Mark Haney wrote:
Here's a portion of the html:
M T
I thought that the values of each selected checkbox would be passed via
the variable name 'DoW' (as in 'MTWTH' or 'MWF'), but that doesn't look
like the case.
The data is passed to a CGI script that does this before pa
This might be the wrong place to post this, but since it's /sort of/
perl related, maybe I'll get some help.
I've got a series of checkboxes denoting the days of the week and I want
the ones that are checked to be passed to my CGI script from the form.
Apparently, I'm not getting the method wh