ru/refpages/elements/informalexample/example.1.txt
raw| 1 | <!DOCTYPE informalexample PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 2 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
| 3 | <informalexample> |
| 4 | <programlisting> |
| 5 | sub print_content_model { |
| 6 | my($self) = shift; |
| 7 | local($_) = shift; |
| 8 | local(*FILE) = shift; |
| 9 | |
| 10 | my(@cm) = $self->format_content_model2($_); |
| 11 | foreach $_ (@cm) { |
| 12 | print FILE $self->make_links($_, 1, 1), "\n"; |
| 13 | } |
| 14 | } |
| 15 | </programlisting> |
| 16 | </informalexample> |