Making a plugin-aware program

Discussion in 'Perl Misc' started by January Weiner, Sep 10, 2009.

  1. Hi,

    I have a perl/tk program that should be able to use additional plugins
    written by users.

    I want to make the process of plugin installation and writing new plugins
    as painless for the users as possible. What I intend to do is to create a
    plugin directory where new plugins can be copied. The program should check
    at startup the plugin directory and adapt the menus as necessary.

    Is there an existing perl system for such plugins that I could use? I
    searched CPAN for "plugin" but was not able to find anything relevant.
    Maybe I missed something?

    j.
     
    January Weiner, Sep 10, 2009
    #1
    1. Advertising

  2. January Weiner <> writes:

    > Is there an existing perl system for such plugins that I could use? I
    > searched CPAN for "plugin" but was not able to find anything relevant.
    > Maybe I missed something?


    http://search.cpan.org/~simonw/Module-Pluggable-3.9/

    //Makholm
     
    Peter Makholm, Sep 11, 2009
    #2
    1. Advertising

  3. On Sep 10, 3:59 pm, January Weiner <> wrote:
    > Hi,
    >
    > I have a perl/tk program that should be able to use additional plugins
    > written by users.
    >
    > I want to make the process of plugin installation and writing new plugins
    > as painless for the users as possible. What I intend to do is to create a
    > plugin directory where new plugins can be copied. The program should check
    > at startup the plugin directory and adapt the menus as necessary.
    >
    > Is there an existing perl system for such plugins that I could use? I
    > searched CPAN for "plugin" but was not able to find anything relevant.
    > Maybe I missed something?
    >
    > j.


    You could see how GCStar done it.
     
    Stanislav Antic, Sep 11, 2009
    #3
  4. January Weiner, Sep 11, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page