Help for this page

Select Code to Download


  1. or download this
        use constant VALUE => 1;
    
  2. or download this
    package A;
    use strict;
    ...
    *{"A::VALUE"} = sub () { 2 };
    
    A->func();