in reply to run a program on a file using sytem call

Please read How do I post a question effectively? and Writeup Formatting Tips. Ill-formatted and unclear questions are less likely to get you useful answers. In particular:

Assuming you have a script named "1234.pl" that "processes the names", the answer to your question can be found in perlrun in the form of a command-line switch.