<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 11, 2016 at 11:46 AM, Max McGrath <span dir="ltr"><<a href="mailto:mmcgrath@carthage.edu" target="_blank">mmcgrath@carthage.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was actually ready to move forward with the multi-word statuses until I got to the transitions area of the Lifecycle. Would I just wrap a multi-word status is single quotes in the transitions area?<div><br></div><div><pre style="font-size:14.2272px;padding-left:1em;line-height:1.2em;color:rgb(0,0,0)"><code style="display:inline;font-size:inherit;padding:0px;background-color:rgb(255,255,0)"> Set( %Lifecycles, orders => {
# ...,
transitions => {
'' => [qw(pending processing declined)],
pending => [qw(processing declined deleted)],
processing => [qw(pending declined delivery delivered deleted)],
delivery => [qw(pending delivered returned deleted)],
delivered => [qw(pending returned deleted)],
returned => [qw(pending delivery deleted)],
deleted => [qw(pending processing delivered delivery returned)],
},
# ...,
});</code></pre></div></div></blockquote><div><br></div><div>The whole Lifecycles datastructure is just hash and array references. Here is a contrived excerpt:</div><div><br></div><div>transitions => {</div><div> 'really hungry' => [</div><div> 'fatally starved',</div><div> 'eating food',</div><div> ],</div><div> 'eating food' => [</div><div> 'sleeping it off',</div><div> 'having dessert',</div><div> ],</div><div>},</div><div><br></div><div>-m</div></div></div></div>