The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Devel::PerlySense::Bookmark::MatchResult - A Bookmark definition and its matches

DESCRIPTION

A Bookmark definition, and a list of matching Bookmark::Match objects

PROPERTIES

oDefinition

Bookmark::Definition object.

raMatch

Array ref with Bookmark::Match object.

Default: []

METHODS

newFromMatch(oDefinition, file, source)

Create new PerlySense::Bookmark::MatchResult object. Use $oDefinition to match against the $source in $file.

If no matches were found, don't create the MatchResult object. Instead return undef (scalar context), or or an empty list (list context).

Die on errors.

parseRex($rex)

Perl eval the $rex string to create a qr// object and return it.

Die on eval errors, or if the result isn't a qr.

aMatch(file, source)

Return a Bookmark::Match object for each time this bookmark matches a line in source.

AUTHOR

Johan Lindstr�m, <johanl[�T]DarSerMan.com>

BUGS

Please report any bugs or feature requests to bug-devel-perlysense@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Devel-PerlySense. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2005 Johan Lindstr�m, All Rights Reserved.

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