Help for this page

Select Code to Download


  1. or download this
    script
    -> A::a_func("str") 
    -> B::b_func("str") 
    -> C::c_func("str") # c_func is what prints the data
    
  2. or download this
    use warnings;
    use strict;
    ...
    use A qw(a_func);
    
    a_func("a string");
    
  3. or download this
    package A;
    
    ...
    }
    
    1;
    
  4. or download this
    package B;
    
    ...
    }
    
    1;
    
  5. or download this
    package C;
    
    ...
    }
    
    1;