Tatsuhiko Miyagawa > Attribute-Unimplemented-0.02 > Attribute::Unimplemented

Download:
Attribute-Unimplemented-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Attribute::Unimplemented - mark unimplemented methods

SYNOPSIS ^

  package SomeClass;
  use Attribute::Unimplemented;

  sub wip : Unimpemented {
      # this block won't be executed
      my $self = shift;
      $self->foo;
      $self->bar;
  }

DESCRIPTION ^

Attribute::Unimplemented can be used to mark your methods as unimplemented one.

With this attribute on, calls to those methods will generate warnings and the real code inside the method won't be executed. That is the only difference with Attribute::Deprecated.

AUTHOR ^

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

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

SEE ALSO ^

Attribute::Handlers, Attribute::Deprecated

syntax highlighting: