Hello 
Probably a newbie question but couldn't find an answer in the masonbook.

autohandler:
<%method do_something>
  <%init> $ARGS{new_value} = 100; </%init>
</%method>

a component derived from this autohandler:
NEW VALUE : <% $ARGS{new_value} %>

<%init>
    my $self = $m->base_comp;
   $self->call_method('do_something',\%ARGS);
</%init>

The $ARGS{new_value} is not printed in the component. Looks like %ARGS gets 
passed by
copy? Is there a way to make changes to %ARGS in autohandler, visible in the 
child?
 
  - Praveen  

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to