in reply to Re^4: installing cpan via script
in thread installing cpan via script

how to use pp in the script , that is where I am stuck .

You don't use pp in the script, pp is the script , pp is a program, you run pp from the shell, or if you insist, you can use system to call the program pp

where to write those line in the script nad how to install that tar file

Um, if at first we're not understanding what you're asking, using progressively less words in subsequent questions won't help us understand you any better :)