Help for this page

Select Code to Download


  1. or download this
    package MyConstants;
    
    ...
    use constant CONST2 => 'xxx';
    
    1;
    
  2. or download this
    use MyConstants;
    
    ...
    use warnings;
    
    print CONST1;