in reply to Why do I get an 'uninitialized' warning?

A double-quoted string is translated by perl into a bunch of string concatenation operations.

So, in this case, I'd look at the values of $email and $fullname to make sure that neither is undefined.

You might want to check and make sure your open of sendmail succeeds, while you're at it... That's not your problem, but it could bite you down the road.
--
Mike

  • Comment on Re: Why do I get an 'uninitialized' warning?