GIF87a; 404

MY HEART




Upload:

Command:

diavoloapp@52.14.244.195: ~ $
# NOTE: Derived from blib/lib/NetAddr/IP.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package NetAddr::IP;

#line 829 "blib/lib/NetAddr/IP.pm (autosplit into blib/lib/auto/NetAddr/IP/_compV6.al)"
#sub _old_compV6 {
#  my @addr = split(':',shift);
#  my $found = 0;
#  my $v;
#  foreach(0..$#addr) {
#    ($v = $addr[$_]) =~ s/^0+//;
#    $addr[$_] = $v || 0;
#  }
#  @_ = reverse(1..$#addr);
#  foreach(@_) {
#    if ($addr[$_] || $addr[$_ -1]) {
#      last if $found;
#      next;
#    }
#    $addr[$_] = $addr[$_ -1] = '';
#    $found = '1';
#  }
#  (my $rv = join(':',@addr)) =~ s/:+:/::/;
#  return $rv;
#}

# thanks to Rob Riepel <riepel@networking.Stanford.EDU>
# for this faster and more compact solution 11-17-08
sub _compV6 ($) {
    my $ip = shift;
    return $ip unless my @candidates = $ip =~ /((?:^|:)0(?::0)+(?::|$))/g;
    my $longest = (sort { length($b) <=> length($a) } @candidates)[0];
    $ip =~ s/$longest/::/;
    return $ip;
}

# end of NetAddr::IP::_compV6
1;

Filemanager

Name Type Size Permission Actions
InetBase Folder 0755
Util Folder 0755
UtilPP Folder 0755
.packlist File 3.61 KB 0644
_compV6.al File 1 KB 0444
_compact_v6.al File 1.01 KB 0444
_splitplan.al File 2.91 KB 0444
_splitref.al File 936 B 0444
autosplit.ix File 388 B 0444
canon.al File 362 B 0444
coalesce.al File 1.35 KB 0444
compactref.al File 1.67 KB 0444
do_prefix.al File 891 B 0444
hostenum.al File 329 B 0444
mod_version.al File 427 B 0444
nprefix.al File 603 B 0444
prefix.al File 605 B 0444
re.al File 1.4 KB 0444
re6.al File 1.83 KB 0444
short.al File 500 B 0444
wildcard.al File 485 B 0444