On Nov 19, Nandita Shenvi said: >I have variable $e-mail the value of the var is an e-mail address, now I >would like to to store the value of the variable under another name for >example email_id001 or email_id$i, where $i is just a interger.
No. You do not want $email1, $email2, $email3, $email4, etc. You want to use an array. The array @email will holds $email[0], $email[1], $email[2], etc. And you'll know how many email addresses you have be doing $count = @email; -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]