Skip to content
Snippets Groups Projects
Commit 4850cb84 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Allow the slice() method to be used to undef the slice

("$f->slice(undef)").
parent aa73e977
No related branches found
No related tags found
No related merge requests found
......@@ -379,6 +379,8 @@ sub slice {
}
$self->{'slice'} = $slice;
} elsif ( @_ > 1 ) {
undef $self->{'slice'};
}
return $self->{'slice'};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment