title: How to call a subroutine from one perl module to another perl module?
body: <p>I have a perl file which makes use of two perl modules A.pm , B.pm. </p>
  
  <p>But in B.pm I need to call a subroutine of A.pm. Even if I give use in A.pm and try to use it I am still getting undefined error. </p>
  
  <p>Any help on this greatly appreciated. </p>