- or download this
$exit = &command( "/bin/snore", 60 );
- or download this
eval {
local $SIG{ALRM} = sub { die "alarm clock restart" };
...
alarm 0;
};
if ($@ and $@ !~ /alarm clock restart/) { die }
- or download this
#! /usr/bin/perl
use strict;
...
if( $@ ) { return undef }
else { return $? / 256 }
}
- or download this
my JAPH:
print"Just another Perl hacker\n";
# ^ look, no space! pretty tricky hey?