Help for this page

Select Code to Download


  1. or download this
    my @plugins = <plugins/*.pm>;
    
  2. or download this
    for (@plugins) {
       require $_;  # Basically "use"-ing the file
    ...
       s/\.pm$//;
       push @pluginInstances, $_->new; # Create a new instance
    }