in reply to Split an array -> store contents into a scalar up till a certain character

The split function does exactly that.
my ($scalar_1,$scalar_2,$scalar_3,$scalar_4) = split(/\./,$array[0]); +# is it [0]?


-nuffin
zz zZ Z Z #!perl
  • Comment on Re: Split an array -> store contents into a scalar up till a certain character
  • Download Code