
gpatel
New User
Nov 29, 2008, 3:10 PM
Post #1 of 1
(1530 views)
|
Problem 1- Email ids conversion code error
|
Can't Post
|
|
Problem 1 This is a new set of email ids . ghood@gee.com, vfojob@gee.com,dooejas@gee.com,viobes2@gee.com,asbxxv@gee.com,gibees@gee.com,fiddef@gee.com,vihhoo@gee.com,giboss@gee.com,veedi@gee.com,ekdnm@gee.com,kimsrp@gee.com This is the old set of email ids in the numerical format ~!*37!@644.2>_576138@644.2>_013*9*@644.2>_6794@644.2>_%'4&3@644.2>_6>>558@644.2>_<2~`84@644.2>_<`93@644.2>_%>`&8@644.2>_84&3<3@644.2>_2~9~8@644.2>_2:319@644.2>_ conversion code is being used as mentioned below [a-j] by [0-9] and [k-z] by [~!_<>%^&*() ; `"=?] I wish to store the new set of email ids along with the already existing old set of email ids which were stored in numerical format. I have problem in obtaining the repeated email ids after saving the new set in the old . this is the script used to resolve this problem but there is an error @entries =qw (.................................................); @list=qw (.....................................................); foreach $ entry ($ list) { $ count== 0; foreach $ list ( $ entry) { if ($ list = ~m/$ entry/;) { splice (@list, @ count, 1); print " $ entry was removed .\n"; $ count++ } } } Print "$_\n" for @ list; so , what is the correct script?
|