Help for this page

Select Code to Download


  1. or download this
    # obtain CODEref info
    sub coderef_info {
    ...
    
    use Data::Dumper;
    print Dumper(coderef_info(\&addem));
    
  2. or download this
    $VAR1 = 'main';       # package name
    $VAR2 = 'addem';      # subroutine name
    ...
        print join(\':\', caller);
        ($package, $filename, $line) = caller;
    }';