Help for this page

Select Code to Download


  1. or download this
    {   package Foo;
        # Foo stuff
    ...
        # This function is main::MainFunc.
    }
    
  2. or download this
    package Foo;
    {    # Foo stuff
    ...
    package main;
    
    # back in main.
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "Foo::Bar: ", Foo::Bar->method, "\n";
    print "Foo:      ", Foo->method, "\n";