App-Wx-PodEditor

 view release on metacpan or  search on metacpan

lib/App/Wx/PodEditor/Actions/File.pm  view on Meta::CPAN

    all => [@EXPORT_OK],
);

our $VERSION = 0.01;

sub file_OpenFile {
    my ($self,$event) = @_;
    
    my $file = Wx::FileSelector( 'Open a Pod file', '', '', 'Pod file (*.pod) | *.pod' );
    if( $file ){
        my $content = do{ local (@ARGV,$/) = $file; <> };
        $self->_editor->set_pod( $content );
    }
}

sub file_SaveFile {
    my ($self,$event) = @_;
    
    print "save file...\n";
    my $pod = $self->_editor->get_pod;
    

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.476 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )