in reply to Re^2: making perl executable
in thread making perl executable
"i know that ,"
Actually, you don't seem to know what you think you do.
"just to be safe i made the pl file ."
Since you want to use pp to create an executable, safety has nothing to do with the requirement to have some perl code. Where in any of the previous discussions we've had, or the documentation does it tell you to attempt what you're trying to do? You must provide perl code as an input to pp, otherwise what do you think you're going to package?
Using pp you want to create a stand alone executable containing all the modules your code uses. At no point do you want to include cpan here. The second example in the documentation shows you how to create a standalone executable.
pp -o hello hello.pl # Pack 'hello.pl' into executable 'hello' # (or 'hello.exe' on Win32)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: making perl executable
by Anonymous Monk on Jul 05, 2013 at 14:50 UTC | |
by marto (Cardinal) on Jul 05, 2013 at 14:53 UTC | |
by Anonymous Monk on Jul 05, 2013 at 14:58 UTC | |
by marto (Cardinal) on Jul 05, 2013 at 15:03 UTC | |
by Anonymous Monk on Jul 05, 2013 at 15:07 UTC | |
|