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