Padre::Wx::PodFrame.3pm

Langue: en

Autres versions - même langue

Version: 2010-06-02 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Padre::Wx::PodFrame - Simple Single-Document Pod2HTML Viewer

SYNOPSIS

   # Create the Pod viewing window
   my $frame = Padre::Wx::PodFrame->new;
 
   # Load a Pod file or document
   $frame->load_file( 'file.pod' );
   $frame->load_pod( "=head1 THIS IS POD!" );
 
 

DESCRIPTION

"Padre::Wx::PodFrame" provides a simple standalone window containing a Pod2HTML rendering widget, for displaying a single POD document as HTML.

METHODS

new

The "new" constructor creates a new, empty, frame for displaying Pod.

load_file

   $frame->load_file( 'filename.pod' );
 
 

The "load_file" method loads a named file into the POD viewer.

load_pod

   $frame->load_pod( $pod_string );
 
 

The "load_pod" method loads a document into the POD viewer by providing the entire document as a string.

SUPPORT

See the main Padre documentation.

AUTHOR

Adam Kennedy <adamk@cpan.org> Copyright 2008-2010 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.