Skip to content

split method #1

Description

@Rico29

hello
I'm unable to make the "split" method work :

use IPv6::Address;
use Data::Dumper;
my $ipv6_DP = IPv6::Address->new('2a06:1:4::/48')
print Dumper($ipv6_DP->split(3));

Always return "substr outside of string at /usr/share/perl5/IPv6/Address.pm line 351."

Tried with $ipv6_DP->split(3,64)
Tried with $ipv6_DP->addr_string; before split

Any idea what I'm doing wrong ?
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions