I want to compile a perl script because I want to run it on systems which dont have perl installed. Does creating an executable solve this purpose? If yes, then how can I do that?
On Wed, Nov 19, 2008 at 10:38 PM, Mr. Shawn H. Corey <[EMAIL PROTECTED]>wrote: > On Wed, 2008-11-19 at 04:03 -0800, ashish wrote: > > Can someone please tell me how to compile a perl script which is > > calling global variables and then how should the executable be used? > > > > There is no need to compile a Perl script. To run it, call it with > perl: > > perl ftp.pl > > Or you can make it executable with: > > chmod a+x ftp.pl > > This needs be done only once. Then to run it: > > ftp.pl > > See: > perldoc perlrun > man chmod > > > -- > Just my 0.00000002 million dollars worth, > Shawn > > The map is not the territory, > the dossier is not the person, > the model is not reality, > and the universe is indifferent to your beliefs. > > -- Ashish Nainwal "Goodwill wishes are a state of our mind.Have a great day!' http://wrappedinapolythene.blogspot.com/