CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Problem 1- Email ids conversion code error

 



gpatel
New User

Nov 29, 2008, 3:10 PM

Post #1 of 1 (1895 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?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives