Um...you can write the routine I guess. Sorry to be 'rude', but we need more details. Where is &lookupaddress defined? Did you write it yourself, or did it come from some module you used? If it came from a module, which one?
Thanks for replying, I think I found what I was looking for, I do need to write the subroutine. I was trying to use a script from Perl for System Administrator and didn't look far enough. Thanks again.