Changeset 364


Ignore:
Timestamp:
Jun 10, 2004, 4:52:28 PM (18 years ago)
Author:
kake
Message:

Document the return_output parameter to display_node.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r363 r364  
    6767=item B<display_node>
    6868
     69  # Print node to STDOUT.
    6970  $guide->display_node(
    7071                        id      => "Calthorpe Arms",
     
    7273                      );
    7374
    74 Prints to STDOUT.  If C<version> is omitted then the latest version
    75 will be displayed.
     75  # Or return output as a string (useful for writing tests).
     76  $guide->display_node(
     77                        id            => "Calthorpe Arms",
     78                        return_output => 1,
     79                      );
     80
     81If C<version> is omitted then the latest version will be displayed.
    7682
    7783=cut
Note: See TracChangeset for help on using the changeset viewer.