While all the above posts are correct, you're not understanding what "split" does...
what you want is the substitution operator:
s/T/,/;
(Essentially you're trying to substitute the 'T' for the ',') then just print, you don't even need the $a variable.
cheers!
In reply to Re: split line from one point
by raybies
in thread split line from one point
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |