in reply to learning: why doesn't this split work?
What do you want $user to contain?
Also, your assignment code isn't correct. = is used to assign a value to a variable; eq tests for string equality. I'm not sure how you end up with $user set to anything using eq...
|
|---|