Help for this page

Select Code to Download


  1. or download this
    foreach (@plugin_list) {
        require $_ or warn "Plugin $_ failed to load";
    }
    
  2. or download this
    # Initialization:
    foreach (@plugins) {
        $_->init if UNIVERSAL::can($_, 'init');
    }
    
  3. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
    {
        print "Foo can actually ", $foo->$bar(), "\n";
    }
    
  4. or download this
    # Initialization:
    foreach (@plugins)
    {
    ...
            return $_->init();
        }
    }