Thanks for the reply. I'm glad to see that Mason handles them in the
expected way. As it turns out, I was handling them correctly, I was simply
chasing a red herring because (I'm new to Mason) I failed to notice that
the line references in the error output were keyed to the file in data/obj
and not my file. Once I sorted that out I immediately saw the real problem.

Bill


At 9:13 AM +0200 6/27/00, Francesc Guasch wrote:
>Bill McCabe wrote:
>>
>> Hi All
>>
>> I'm converting a mod_perl module-based site to HTML::Mason and have a
>> question about passing arguments to a component.
>>
>> my $penuser = $r->connection->user;
>> my $authzrc = $m->comp( 'authzREPSYS', data_aref=>\@data_refs,
>> hconnref=>\%hconn, penuser=>$penuser );
>>
>this works for me, later you declare data:
>
>>
>> <%args>
>> $data_aref
>> $hconnref
>> $penuser
>> </%args>
>
>And remember to use it as refs:
>
>% foreach (@$data_aref) {
>     <% $_ > <br>
>% }
>
>Maybe you'r error is there, make sure you check perldoc perlref
>
>--
> - frankie -



Reply via email to