in reply to
uninitialized value in substitution
You should chomp($user) in there somewhere and the line your getting an error on... why don't you just do
$fields[0] = $user;
[download]
That should work if i understand what you are trying to do..
Comment on
Re: uninitialized value in substitution
Download
Code
In Section
Seekers of Perl Wisdom