It would be better if you showed us a complete, but simple, test so we could help you better.
Are you sure that $name is getting set properly to something?
Perhaps a debug line like
might be useful.print "name var is set to $name\n";
non-Perl: Andy Ford
In reply to Re: Sendmail Help!
by andyford
in thread Sendmail Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |