in reply to Re: split and uninitialized variables
in thread split and uninitialized variables

This won't work, as '' x 3 is just ''. Instead,

my ($x, $y, $z) = (split(',', $_), ('') x 3);
will work.