Help for this page

Select Code to Download


  1. or download this
    $foo = "CGI";
    require $foo; #this will bork
    $foo = "CGI.pm";
    require $foo; #this won't
    
  2. or download this
    BEGIN {
        sub which_finds_modules {
    ...
            require $mod; #make sure it has the extension!
        }
    }