Ananda You might get a better response to your question if you would clarify your needs. I've read your original post and this one several times, and it's still not clear to me what it is you are trying to do.
What do you mean by "send key value pairs that represent name and associated email ID to a perl file"?
In your original post you ask "Is it possible to pass hash values (%a, %b) to perl script files (abc.pl) from command line", and then show a comand line with %a and %b.
Where would these variables/values come from? Another script, a database? WOuld you type them?
In this post you mention that you want to pass key/value pairs (name/emailid) into a script...but you don't say where you would get those pairs from?
Reading between the lines, it sounds like your have an existing script that has a hash with the key/value pairs in it, and you have another script that takes a name & emailid pair and uses it to call sendmail, and you wish to call the second script from within the first and pass the key/value pairs from the first to the second, either individually or en-masse.
If either of these is what you want, then both are possible, but you need to explain your problem more clearly, perhaps show a little code of how/where the hash is built and how/when you want to pass the data.
Given a little more information, any number of monks would be only to pleased to help.
Okay you lot, get your wings on the left, halos on the right. It's one size fits all, and "No!", you can't have a different color.
Pick up your cloud down the end and "Yes" if you get allocated a grey one they are a bit damp under foot, but someone has to get them.
Get used to the wings fast cos its an 8 hour day...unless the Govenor calls for a cyclone or hurricane, in which case 16 hour shifts are mandatory.
Just be grateful that you arrived just as the tornado season finished. Them buggers are real work.
|