Fayland 林 > Padre-Plugin-XML-0.06 > Padre::Task::SyntaxChecker::XML

Download:
Padre-Plugin-XML-0.06.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source   Latest Release: Padre-Plugin-XML-0.10

NAME ^

Padre::Task::SyntaxChecker::XML - XML document syntax-checking in the background

SYNOPSIS ^

  # by default, the text of the current document
  # will be fetched as will the document's notebook page.
  my $task = Padre::Task::SyntaxChecker::XML->new();
  $task->schedule;
  
  my $task2 = Padre::Task::SyntaxChecker::XML->new(
    text => Padre::Documents->current->text_get,
    notebook_page => Padre::Documents->current->editor,
    on_finish => sub { my $task = shift; ... },
  );
  $task2->schedule;

DESCRIPTION ^

This class implements syntax checking of XML documents in the background. It inherits from Padre::Task::SyntaxChecker. Please read its documentation!

SEE ALSO ^

This class inherits from Padre::Task::SyntaxChecker which in turn is a Padre::Task and its instances can be scheduled using Padre::TaskManager.

The transfer of the objects to and from the worker threads is implemented with Storable.

AUTHOR ^

Heiko Jansen, <heiko_jansen@web.de>

COPYRIGHT AND LICENSE ^

Copyright 2008 Heiko Jansen

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

syntax highlighting: