added Info.plist
[TestXSLT.git] / libxml2 / result / DocBook / programlistingco.example.1.xml
1 <?xml version="1.0"?>
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>\r
4 sub do_nothing_useful {\r
5     my($a, $b, $c);\r
6 \r
7     $a = new A;\r
8     \r
9     $a-&gt;does_nothing_either();\r
10 \r
11     $b = new B; \r
12 \r
13     $c = &quot;frog&quot;;\r
14 \r
15     return ($a, $c);\r
16 }\r
17 </programlisting><calloutlist><callout arearefs="ex.plco.const"><para>\r
18 These are calls to the constructor <function>new</function> in the object\r
19 classes.\r
20 </para></callout><callout arearefs="ex.plco.ret"><para>\r
21 This function returns a two-element list.\r
22 </para></callout><callout arearefs="ex.plco.dest"><para>\r
23 The <emphasis>destructor</emphasis> (<function>DESTROY</function>) for\r
24 the object <literal>$b</literal> will be called automatically for this\r
25 object since there can be no other references to it outside this function.\r
26 </para></callout></calloutlist></programlistingco>