hello,
I am passing a scalar to a subroutine so it goes in as $_[0], lets say the scalar is a 5 digit number (12345), how do i split the scalar into a list, ie: $_[0] = 1, $_[1] = 2, $_[2] = 3, ect, ect..
ive been shown the code once before but i cant remembet it.
please help
skottieb
I am passing a scalar to a subroutine so it goes in as $_[0], lets say the scalar is a 5 digit number (12345), how do i split the scalar into a list, ie: $_[0] = 1, $_[1] = 2, $_[2] = 3, ect, ect..
ive been shown the code once before but i cant remembet it.
please help
skottieb