(value of $x is unimportant) and the form of the string is something like " - - -P- -K- - - - - - - - -".
I want to split the string into an array with "-" as the delimiter and then i want to reassign the scalar
to be a reference to the new array.
Here's my current working implementation in 2 lines of code. It seems I should be able to remove the need for the @tmp variable and get it all onte one line...but how?