freebsd-ports/devel/p5-Object-Enum/pkg-descr
Doug Barton 989772c9ac The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
2011-10-24 09:11:38 +00:00

9 lines
221 B
Text

use Object::Enum qw(Enum);
my $color = Enum([ qw(red yellow green) ]);
# ... later
if ($color->is_red) {
# it can't be yellow or green
Author: Hans Dieter Pearcey
WWW: http://search.cpan.org/dist/Object-Enum/