in reply to Re: Call Subroutine with Variable
in thread Call Subroutine with Variable

If you're using OO, go the whole way and use polymorphism. Create a subclass for SunOS, one for HPUX, one for XP, one for Linux, and then call add_account on each object.