in reply to passing $var to smtp subroutine

Do you really have 2 separate variables, $emailid and $mailid, or is $mailid a typo? Using the strictures will help catch potential mistakes like this:
use warnings; use strict;

Replies are listed 'Best First'.
Re^2: passing $var to smtp subroutine
by csarid (Sexton) on Feb 07, 2009 at 19:14 UTC
    Thanks toolic, I bit the bullet and put in the use warnings and strict and will used them moving forward