Help for this page

Select Code to Download


  1. or download this
    BEGIN { require module }
    
  2. or download this
    BEGIN {
      my $version = (($0 =~ /2(?:\.pl)?$/) ? '2' : '');
      require "LayerB${version}.pm";
    }
    
  3. or download this
    BEGIN {
       # set $version based on $0
      require "LayerB${version}.pm";
      "LayerB${version}"->import(qw(A B C));
    }