Sub::Assert

Sub::Assert - Design-by-contract like pre- and postconditions, etc.
Download

Sub::Assert Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Steffen Mueller
  • Publisher web site:
  • http://search.cpan.org/~smueller/InlineX-XS-0.02/lib/InlineX/XS.pm

Sub::Assert Tags


Sub::Assert Description

Sub::Assert - Design-by-contract like pre- and postconditions, etc. Sub::Assert - Design-by-contract like pre- and postconditions, etc.SYNOPSIS use Sub::Assert; sub squareroot { my $x = shift; return $x**0.5; } assert pre => '$PARAM >= 1', # for the sake of simplicity post => '$VOID or $RETURN = 1', # for the sake of simplicity post => '$RETURN Requirements: · Perl


Sub::Assert Related Software