John W. Krahn wrote:
> Steve Bertrand wrote:
>> Hi all,
[ huge snip ]
>> ...or any variant of trying to use the method-call syntax within a
>> dispatch table coderef.
>
> How and where is _find_plan_by_id() defined?
It's defined within its own class ( ie: file/package scope).
The definition is
Shlomi Fish wrote:
> On Saturday 31 Oct 2009 02:38:11 Steve Bertrand wrote:
>> Steve Bertrand wrote:
>>> What I don't understand, is
>>> why I have to pass in $self as a param to the dispatch table. What
>>> didn't work is this:
>>>
>>>
>>> sub perform_find {
>>>
>>> my $self= shift;
>>>
On Saturday 31 Oct 2009 02:38:11 Steve Bertrand wrote:
> Steve Bertrand wrote:
> > Hi all,
> >
> > Within a CGI environment, I'm trying to do a dispatch table test, but
> > can't figure out how to call the coderef as a method. Here is the
> > working code. I'll describe what doesn't work afterwards
Steve Bertrand wrote:
Hi all,
Hello,
Within a CGI environment, I'm trying to do a dispatch table test, but
can't figure out how to call the coderef as a method. Here is the
working code. I'll describe what doesn't work afterwards:
sub perform_find {
my $self= shift;
my $find_th
Shawn H Corey wrote:
>>> sub perform_find {
>>>
>>> my $self= shift;
>>>
>>> my $find_this = $self->query->param( 'find_this' );
>>> my $search_data = $self->query->param( 'search_data' );
>>>
>>> my %find_commands = (
>>>
>>> # I'm trying to call the method on myself
>>>
Steve Bertrand wrote:
> Steve Bertrand wrote:
>> Hi all,
>>
>> Within a CGI environment, I'm trying to do a dispatch table test, but
>> can't figure out how to call the coderef as a method. Here is the
>> working code. I'll describe what doesn't work afterwards:
>>
>> sub perform_find {
>>
>> m
Steve Bertrand wrote:
> Hi all,
>
> Within a CGI environment, I'm trying to do a dispatch table test, but
> can't figure out how to call the coderef as a method. Here is the
> working code. I'll describe what doesn't work afterwards:
>
> sub perform_find {
>
> my $self= shift;
>
> m