Help for this page

Select Code to Download


  1. or download this
    # Constants.pm
    package Constants;
    ...
    
    our @EXPORT = qw(XX YY);
    1;
    
  2. or download this
    # caller.pl
    use strict;
    ...
    use Constants;
    
    print "sum =",XX + YY,"\n";
    
  3. or download this
    use base qw(Exporter DynaLoader);