Help for this page

Select Code to Download


  1. or download this
    package a;
    
    ...
    sub import {
      print "import #2 in $_[0] called from ". (caller(1))[3] ." \n";
    }
    
  2. or download this
    import #1 in a called from b::BEGIN
    import in b called from a::BEGIN
    import #2 in a called from main::BEGIN