2 <!DOCTYPE programlistingco PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
3 <programlistingco><areaspec><areaset id=
"ex.plco.const" coords=
""><area id=
"ex.plco.c1" coords=
"4"/><area id=
"ex.plco.c2" coords=
"8"/></areaset><area id=
"ex.plco.ret" coords=
"12"/><area id=
"ex.plco.dest" coords=
"12"/></areaspec><programlisting>
4 sub do_nothing_useful {
9 $a-
>does_nothing_either();
13 $c =
"frog
";
17 </programlisting><calloutlist><callout arearefs=
"ex.plco.const"><para>
18 These are calls to the constructor
<function>new
</function> in the object
20 </para></callout><callout arearefs=
"ex.plco.ret"><para>
21 This function returns a two-element list.
22 </para></callout><callout arearefs=
"ex.plco.dest"><para>
23 The
<emphasis>destructor
</emphasis> (
<function>DESTROY
</function>) for
24 the object
<literal>$b
</literal> will be called automatically for this
25 object since there can be no other references to it outside this function.
26 </para></callout></calloutlist></programlistingco>