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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Method::Workflow 0.204

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Chad Granum | More programs
    Perl Artistic License / FREE
    April 28th, 2012, 20:25 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Method::Workflow description

    Dynamic/Nested Workflows that can act as methods on an object

    In the Method::Workflow module a workflow is a sequence of methods, possibly nested, associated with an object or class, that can be programmatically generated, chained or mixed.

    Generally you declare workflow methods as small parts of a greater design. A good example of what this module attempts to achieve is Ruby's RSPEC http://rspec.info. However workflows need not be restricted to testing.

    Example workflow (Method::Workflow::Case):

    Each 'task' method will be run for each 'case' method

     cases example {
     my $target;
     case a { $target = "case 1" }
     case b { $target = "case 2" }
     case c { $target = "case 2" }

     action display { print "$target\n" }
     action display_cap { print uc($target) . "\n" }
     }

     run_workflow();


    Prints:

     case 1
     CASE 1
     case 2
     CASE 2
     case 3
     CASE 3



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Dynamic Workflows | Nested Workflows | Perl module | Dynamic | Nested | Workflows

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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