Help for this page

Select Code to Download


  1. or download this
    package X;
    sub A { " base class implementation" }
    ...
    # Let's use A() from the base class
    sub B { "local implementation" }
    
  2. or download this
    sub Y::A {
       unless ($getopt{special_case}) {
    ...
       # do the stuff based on the command line arg if
       # the special case was chosen from the cmd line.
    }