home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl502b.zip
/
lib
/
auto
/
POSIX
/
assert.al
< prev
next >
Wrap
Text File
|
1995-07-03
|
202b
|
12 lines
# NOTE: Derived from lib/POSIX.pm. Changes made here will be lost.
package POSIX;
sub assert {
usage "assert(expr)" if @_ != 1;
if (!$_[0]) {
croak "Assertion failed";
}
}
1;