blib/lib/Acme/Fork/Bomb.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
import
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Acme::Fork::Bomb;
2 use strict;
3 use warnings;
4  
5 our $VERSION = '2.0';
6  
7 =head1 NAME
8  
9 Acme::Fork::Bomb - crashes your program and probably your system
10  
11 =head1 SYNOPSIS
12  
13 use Acme::Fork::Bomb;
14  
15 =head1 DESCRIPTION
16  
17 B<WARNING:> Using this will crash your system. You have been warned.
18  
19 Steps to use:
20  
21 =over
22  
23 =item 1
24  
25 Install.
26  
27 =item 2
28  
29 Add C<use Acme::Fork::Bomb> to your program.
30  
31 =item 3
32  
33 Run your program.
34  
35 =item 4
36  
37 Reboot.
38  
39 =back
40  
41 =head1 METHODS
42  
43 None. All you need is C<use Fork::Bomb>. You won't need anything else after
44 that. In fact, you probably won't be able to do anything else on your computer
45 after that.
46  
47 =head1 SPECIAL THANKS
48  
49 Special thanks to Michael Flickinger and Michael Aquilina and the staff and
50 sponsors of YAPC::NA 2012 for allowing us to meet together in the Expo Hall.
51  
52 =head1 COPYRIGHT AND LICENSE
53  
54 Copyright 2012 Sterling Hanenkamp. This software is available under the same
55 license as Perl itself.
56  
57 =cut
58  
59 sub import {
60 fork while (fork) or not fork;
61 }
62  
63 1;