Skip to main content

normalize_args_head

Function normalize_args_head 

Source
pub fn normalize_args_head(args: &[PerlValue]) -> Vec<PerlValue>
Expand description

Convenience: normalize the first arg in place and return a Vec the caller can hand to its existing serializer logic. Use when the serializer takes &[PerlValue] and only the first element is the data to serialize.