Help for this page

Select Code to Download


  1. or download this
    package Debug;
    sub ::dp { print "Moo!\n"; }
    
    package test;
    ::dp;
    
  2. or download this
    $ perl a.pl
    Moo!
    
  3. or download this
    package main;
    sub _ { print "Foo!\n" }
    ...
    package test;
    _();
    &%();
    
  4. or download this
    $ perl a.pl
    Foo!
    Bar!