Hi,<br><br>How can I access one controller from other?<br><br>I have 2 controllers called Myapp::Controller::User and Myapp::Controller::Admin<br><br>In Myapp::Controller::User I have following method.<br><br>sub user_list :Path Args:(0) {<br>
some function to display all the users.<br>}<br><br>Myapp::Controller::Admin has following method<br><br>sub users :Path Args(0) {<br> Here I want to display all users by calling Myapp::Controller::User<br> $c->controller('Myapp::Controller::User')->user_list is not working<br>
}<br><br>any suggestion?<br><br>Thanks<br>