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. Advertisements

  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. Advertisements

  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. Advertisements

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.
Similar Threads
  1. =?Utf-8?B?TWljaGHFgiBKYW51c3pjenlr?=

    DataView data accessor aware of sorting used

    =?Utf-8?B?TWljaGHFgiBKYW51c3pjenlr?=, Nov 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    465
    =?Utf-8?B?TWljaGHFgiBKYW51c3pjenlr?=
    Nov 22, 2004
  2. fishfry

    OSX FruitMenu-aware app?

    fishfry, Feb 27, 2004, in forum: Java
    Replies:
    2
    Views:
    439
    Todd de Gruyl
    Feb 28, 2004
  3. Replies:
    5
    Views:
    2,202
    Andrew Thompson
    Jan 12, 2005
  4. PilotYid
    Replies:
    1
    Views:
    956
    Andrew Thompson
    Oct 31, 2005
  5. Marcin Cenkier
    Replies:
    1
    Views:
    5,862
    Marcin Cenkier
    Apr 12, 2006
  6. Jimmy
    Replies:
    0
    Views:
    767
    Jimmy
    Mar 15, 2007
  7. Naveen
    Replies:
    2
    Views:
    346
    Naveen
    Apr 2, 2007
  8. Replies:
    1
    Views:
    980
Loading...