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

"no I read it , but it does not explain how to use pp in the script , that is where I am stuck"

You don't use pp within your script. The documentation quite clearly shows that this tool is used to create an executable version of a script. There is an explanation and many examples. If you feel the documentation could be improved you're free to provide a patch.

"how to install that tar file"

Use cpan to install pp and it's dependencies:

cpan pp