Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: require mystery

by Corion (Patriarch)
on Sep 06, 2007 at 07:38 UTC ( [id://637340] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    require $pathtool;
    
  2. or download this
    require "File::Path";
    
  3. or download this
    eval "require $pathtool";
    
  4. or download this
    require File::Path;
    
  5. or download this
    sub require_package {
        for (@_) {
    ...
            require "$file.pm";
        };
    };