| 1 | |||
| 2 | #use diagnostics; | ||
| 3 | 1 | ▶ | use Test::More tests => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use_ok ('NetAddr::IP::Lite', qw(:lower)); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | my $exp = 'ff:0:0:0:0:0:0:eeaa/128'; | |
| 8 | 1 | my $ip = new NetAddr::IP::Lite('FF::eeAA'); | |
| 9 | 1 | my $got = sprintf $ip; | |
| 10 | 1 | ok ($got eq $exp,"lower case $got"); | |
| 11 | |||