If I have "abcd" string, then what is the shortest way to convert to @rq qw (abcd) ?
my @arr = split //, "abcd"; My @arr = "abcd" = ~ /./sg; My @arr = Unpack '(A) *', 'ABCD';
If I have "abcd" string, then what is the shortest way to convert to @rq qw (abcd) ?
my @arr = split //, "abcd"; My @arr = "abcd" = ~ /./sg; My @arr = Unpack '(A) *', 'ABCD';
Comments
Post a Comment