in reply to Re: Re: running same bit of code twice
in thread running same bit of code twice

That's because qw doesn't interpolate variables. So change that line to
my @reg_addrs = ("$username\@domain1.com", "$username\@domain2.com");
and you're set.

Replies are listed 'Best First'.
Re: Re: Re: Re: running same bit of code twice
by Anonymous Monk on May 04, 2003 at 18:13 UTC
    cheers guys, your both diamonds