Help for this page

Select Code to Download


  1. or download this
    package Orig;
    use Exporter;
    ...
    sub orig { print "&Orig::orig runs\n" }
    sub repl { print "&Orig::repl runs (O No!)\n" }
    1;
    
  2. or download this
    package Repl;
    use warnings;
    ...
    no warnings 'redefine';
    sub repl { print "&Repl::repl runs $/" }
    1;
    
  3. or download this
    #!/usr/bin/perl
    #              client program
    ...
        
    repl();    
    orig();
    
  4. or download this
    &Repl::repl runs 
    &Orig::orig runs