in reply to newbie attempting to extract

If I understand the question right, the simplest solution to it is surely just this kind of syntax:
$str = 'one two three'; ($x,$y,$z) = split(' ',$str); print "my three variables are $x, $y and $z";
as in, it directly splits up the string into variable names of your choosing?

Maybe I've missed something, as nobody's posted about that method yet?



($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print