Help for this page
use strict; use warnings; ... my @with_char = split (' ',$str,-1); pp \@with_char; # [1, 2, 3, ""]