Re: Is there any provision to run perl scripts without installing perl?
by marto (Cardinal) on Jul 03, 2012 at 11:43 UTC
|
Other than the advice moritz has already given, you could run perl from a USB device, meaning that it wouldn't have to be installed on the computer, see PortableZIP edition. Since you are for some reason opposed to creating a stand alone exe I think your alternatives are going to be limited.
| [reply] |
|
| [reply] |
|
| [reply] |
Re: Is there any provision to run perl scripts without installing perl?
by moritz (Cardinal) on Jul 03, 2012 at 11:33 UTC
|
Sure, do it remotely on a machine that has Perl installed. For example via CGI in your browser.
| [reply] |
Re: Is there any provision to run perl scripts without installing perl?
by tobyink (Canon) on Jul 03, 2012 at 12:33 UTC
|
Yes: buy, borrow or steal a computer that already has Perl installed upon it.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
| [reply] |
|
| [reply] |
|
| [reply] |
|
Re: Is there any provision to run perl scripts without installing perl?
by Ransom (Beadle) on Jul 03, 2012 at 11:39 UTC
|
Hey I just met you and this is crazy, but I don't want to install perl, just run it maybe.
If you want a whole package, install cygwin on windows and perl inside that.
| [reply] |
Re: Is there any provision to run perl scripts without installing perl?
by Anonymous Monk on Jul 03, 2012 at 14:12 UTC
|
Like it or not, the runtime environment of Perl (and all of the libraries that may be directly or indirectly referenced by your code) must be installed on the target computer. Mechanisms for bundling this into a self-contained (exe...) single file do exist. But the fact remains: it must execute. Therefore, it must be executable.
Remember that systems like Windows install a tremendous number of runtime environment libraries whether you want them there or not, precisely so that scripts and so-forth can run on the computer without further installation-work from you. (Ignoring the obvious "virus and malware" threads, please...) | [reply] |
Re: Is there any provision to run perl scripts without installing perl?
by Anonymous Monk on Jul 03, 2012 at 11:44 UTC
|
Is there any provision to run perl scripts without installing perl? Please don't suggest to create .exe file for this. Is there any other way to run perl script on my windows system. No, but you knew that already
| [reply] |