Thanks shmem for your reply. It works well. But this script.pl file also gets changed. I wanted to keep this
in the main directory and want to run the .pl files in the test directory. I am using suse linux os. the directory path is
/main/script.pl -- Script file.
/main/test/*.pl files -- perl files.
In the oneliners there is an option like this $(find .-type f). How can i do this in the script file.
Thanks for your reply.