1 package PPI::Statement::Break;
7 PPI::Statement::Break - Statements which break out of normal statement flow
26 C<PPI::Statement::Break> is intended to represent statements that break
27 out of the normal statement flow control. This covers the basic
28 types C<'redo'>, C<'goto'>, C<'next'>, C<'last'> and C<'return'>.
32 C<PPI::Statement::Break> has no additional methods beyond the default ones
33 provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
35 However, it is expected to gain methods for identifying the line to break
36 to, or the structure to break out of.
41 use PPI::Statement ();
43 use vars qw{$VERSION @ISA};
46 @ISA = 'PPI::Statement';
55 - Add the methods to identify the break target
57 - Add some proper unit testing
61 See the L<support section|PPI/SUPPORT> in the main module.
65 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
69 Copyright 2001 - 2009 Adam Kennedy.
71 This program is free software; you can redistribute
72 it and/or modify it under the same terms as Perl itself.
74 The full text of the license can be found in the
75 LICENSE file included with this module.