Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Draft - Writng pluggable programs with perl.

by chromatic (Archbishop)
on Jun 13, 2004 at 17:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-20 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found