| 1 | |||||||||||
| 2 | 1 | ▶ | BEGIN { $| = 1; print "1..3\n"; } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | END {print "not ok 1\n" unless $loaded;} | ||||||||
|
Subroutine
END: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 4 | |||||||||||
| 5 | 1 | $loaded = 1; | |||||||||
| 6 | 1 | print "ok 1\n"; | |||||||||
| 7 | |||||||||||
| 8 | #use diagnostics; | ||||||||||
| 9 | 1 | ▶ | use NetAddr::IP::Lite; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 1 | $| = 1; | |||||||||
| 12 | |||||||||||
| 13 | 1 | my $test = 2; | |||||||||
| 14 | |||||||||||
| 15 | 2 | ▶ | sub ok() { | ||||||||
|
Subroutine
ok: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 2 | print 'ok ',$test++,"\n"; | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 1 | $exp = '0:0:0:0:0:0:7F00:0/104'; | |||||||||
| 20 | 1 | my $ip = new6 NetAddr::IP::Lite('127.0.0.0/8'); | |||||||||
| 21 | 1 | ▶ | print "exp $exp\ngot ", $ip, "\nnot " | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | unless $ip eq $exp; | ||||||||||
| 23 | 1 | &ok; | |||||||||
| 24 | |||||||||||
| 25 | 1 | $ip = new6 NetAddr::IP::Lite('127/8'); | |||||||||
| 26 | 1 | ▶ | print "exp $exp\ngot ", $ip, "\nnot " | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | unless $ip eq $exp; | ||||||||||
| 28 | 1 | &ok; | |||||||||