ru/refpages/elements/informalexample/example.1.gen
raw| 1 | <informalexample> |
| 2 | <programlisting> |
| 3 | sub print_content_model { |
| 4 | my($self) = shift; |
| 5 | local($_) = shift; |
| 6 | local(*FILE) = shift; |
| 7 | |
| 8 | my(@cm) = $self->format_content_model2($_); |
| 9 | foreach $_ (@cm) { |
| 10 | print FILE $self->make_links($_, 1, 1), "\n"; |
| 11 | } |
| 12 | } |
| 13 | </programlisting> |
| 14 | </informalexample> |