Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Proclet 0.05

    Download button

    No screenshots available
    Downloads: 79  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Masahiro Nagano | More programs
    Perl Artistic License / FREE
    June 16th, 2012, 06:26 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Proclet description

    Minimalistic Supervisor

    Proclet is minimalistic supervisor, fork and manage many services from one Perl script.

    SYNOPSIS

     use Proclet;

     my $proclet = Proclet->new;

     # add service
     $proclet->service(
     code => sub {
     my $job = $jobqueue->grab;
     work($job);
     },
     worker => 2,
     );

     $proclet->service(
     code => sub {
     my $loader = Plack::Loader->load(
     'Starlet',
     port => $port,
     host => $host || 0,
     max_workers => 4,
     );
     $loader->run($app);
     },
     );

     $proclet->service(
     code => sub {
     exec('/usr/bin/memcached','-p','11211');
     },
     );

     $proclet->run;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    minimalistic supervisor | Perl module | Perl | minimalistic | supervisor

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM