Help for this page

Select Code to Download


  1. or download this
    sub get_myscalar {
      return $myscalar
    }
    
  2. or download this
    my %exported_lex ={
       myscalar  => \$myscalar,
    ...
    sub get_lex_val {
       return ${$exported_lex{$_[0]}}
    }