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

NAME

types - Perl pragma for strict type checking

SYNOPSIS

  use types;
  my int $int;
  my float $float;
  $int = $float; # BOOM compile time error!

ABSTRACT

This pragma uses the optimzie module to analyze the optree and turn on compile time type checking

DESCRIPTION

This pragma uses the optimzie module to analyze the optree and turn on compile time type checking

EXPORT

None.

SEE ALSO

optimize B::Generate optimizer

AUTHOR

Arthur Bergman, <ABERGMAN@CPAN.ORG>

COPYRIGHT AND LICENSE

Copyright 2002 by Arthur Bergman

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