<?xml version="1.0" encoding="windows-1252"?>
<node id="995490" title="Re^2: converting from switch to given-when" created="2012-09-25 02:05:17" updated="2012-09-25 02:05:17">
<type id="11">
note</type>
<author id="757127">
tobyink</author>
<data>
<field name="doctext">
&lt;p&gt;Indeed. If they were proper constants (e.g. defined by [mod://constant]) then they'd work with &lt;c&gt;given&lt;/c&gt;/&lt;c&gt;when&lt;/c&gt;. But they are not. :-(&lt;/p&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-757127"&gt;
&lt;small&gt;&lt;small&gt;
&lt;tt&gt;perl -E'sub Monkey::do{say$_,for@_,do{($monkey=&amp;#x5B;caller(0)]-&gt;&amp;#x5B;3])=~s{::}{ }and$monkey}}"Monkey say"-&gt;Monkey::do'
&lt;/tt&gt;&lt;/small&gt;&lt;/small&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
995476</field>
<field name="parent_node">
995481</field>
</data>
</node>
