Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Draft - Writng pluggable programs with perl.

by chromatic (Archbishop)
on Jun 13, 2004 at 17:52 UTC ( #366285=note: print w/replies, xml ) Need Help??

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();
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://366285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-08-14 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (75 votes). Check out past polls.

    Notices?