Steffen Müller > Acme-Chef > Acme::Chef::Recipe

Download:
Acme-Chef-1.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.00   Source  

NAME ^

Acme::Chef::Recipe - Internal module used by Acme::Chef

SYNOPSIS ^

  use Acme::Chef;

DESCRIPTION ^

Please see Acme::Chef;

METHODS

This is list of methods in this package.

new

Acme::Chef::Recipe constructor. Arguments are interpreted as key/value pairs and used as object attributes.

execute

Executes the recipe (program). First argument should be a reference to a hash of sous-recipes.

first_bowl

Returns the first bowl of the recipe.

require_ingredient

First argument must be an ingredient object. Second may be a string indicating the location of the requirement. Throws a fatal error if the ingredient is not present.

output

Mutator for the Recipe output.

require_bowl

First argument must be a number of bowls. Additional bowls are added to the recipe if it currently has less than this number of bowls.

require_dish

First argument must be a number of dishes. Additional dishes are added to the recipe if it currently has less than this number of dishes.

recipe_name

Mutator for the recipe name.

compile

Tries to compile the recipe. Returns 0 on error or if the recipe was already compiled. Returns the compiled recipe if the compilation succeeded.

AUTHOR ^

Steffen Mueller.

Chef designed by David Morgan-Mar.

COPYRIGHT AND LICENSE ^

Copyright (c) 2002-2008 Steffen Mueller. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Author can be reached at chef-module at steffen-mueller dot net

syntax highlighting: