Instead of java script why can't we use perl script? [closed] - perl

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I need explanation of Perl script why didn't using in web pages as java script?
What different between two script, can any one explain this?
I want something write to in web pages by Perl script,
am not mean CGI script, Perl script ,
because why I asking this questions, Perl simplest method using in there.
suppose we can't work with Perl script... Why?
Can you please explain briefly?.......
Java script:
<script language="JScript"> </script>
can you explain... in Perl

You can only execute client side code if the browser can pass that code off to a suitable interpretor or compiler.
The only Perl engine supported by browsers was ActiveState's PerlScript which was IE/Windows only, required a plug-in to be installed, and (as far as I know) has been discontinued.
In short: You can't use Perl client side because browser vendors haven't done the work needed to support Perl.

Well, Perl is just not embedded into web browser, so there's no way to get a Perl script on client side for that very simple reason...

Related

What perl web framework to use for the old CGI based perl code? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Yes, while i'm working on node.js, i still love perl, :)
The old web product is based on old perl CGI, i'm looking to the simplest way to fix XSS/Sql injection/etc. web security holes, within a week including testing, :(
So for
Catalyst
Dancer
Mason
Maypole
Mojolicious
which one should i use in the ARM platform ?
Thank you !
You have fallen foul of the primarily opinion-based off-topic categorisation, and your question will probably be closed very soon. However I think it's worth offering a few guidelines here
First of all you should absorb what is written in CGI::Alternatives as it is a reasonable summary of the subject
Next you should separate the HTML generation functionality of your existing CGI code from the interface itself, and consider replacements for each of them separately. If you were to use HTML::Tiny together with CGI::Simple then your code would have to change very little and you would have achieved better partitioning of functionality
Ideally you will move on to one of the many templating systems such as Template Toolkit, together with one of the frameworks, which is the topic of your question. In the end you will need to do a lot of research and many trials to discover how well each framework fits your requirement, in terms of both the feature list and the convenience and clarity of the API
All I can do here is say that I am very fond of the Mojolicious suite and suggest that it may be a good starting point. The API focuses on command chaining in a way similar to Ruby, and there is a Mojolicious::Plugin::CGI accessory which will allow you to execute CGI scripts unchanged during your migration
Note however that all of the frameworks that you mention, as well as several others, will have their proponents. That is why you must make the selection yourself, as such recommendations will be influenced primarily by familiarity, and without your own knowledge of the requirements of your project
Unfortunately I cannot speak to the security issues of the various options, but I hope that has helped a little

How can i send fax using perl script? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to send FAX using perl script.
How can I do it?
Is their any way send fax using perl script if any idea please tell me.
Thanks in advance
This older (6 yrs) thread on Perlmonks still seems like a good response to this question, in my opinion.
http://www.perlmonks.org/?node_id=782340
Basically, if you have a fax server that has some more or less straightforward method of communicating with it programmatically (like HylaFax) then you can use Perl to interact with it in a familiar way.
If that is not the case then your best answer is to seek out an external program and perhaps automate that, if possible. The "external program" is what you need in order to take care of the many fiddly issues involved with dialing the number, negotiating with the receiver, and so on.
One example of an external program to send faxes is OpenOffice
http://www.linuxjournal.com/content/faxing-openofficeorg
Finally, there is fax4j in Java which you could try and use with Inline::Java, which is kind of cheating in the sense that it is just barely a Perl solution.
http://sourceforge.net/projects/fax4j/
http://search.cpan.org/dist/Inline-Java/Java.pod
If any of this matches something that you can try out in your environment go ahead and then post back in more detail if you run into trouble implementing.

What does perl configure mean [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Forgive me this newbie question.
After installing ActivePerl for Windows. I try to understand the command perl configure .... with the command perldoc perl. But didn't found anything about configure option. I also try the command perldoc perl configure. But It doesn't work. Shows No documentation found for "configure".
From http://community.activestate.com/node/7573 it looks to me like the Configure being talked about is a script included with and used to build the OpenSSL source; it is not part of perl or the perl distribution.
Though the perl source does include a Configure script, that is a shell script used to build perl itself, and nothing to do with the Configure you are looking for.
I don't know what the configure.pl you see is, but it is also likely not what you are looking for.

I want to send email through perl, what kind of setup is required for it? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've tried using these different modules given by Perl for sending email:
Email::MIME
Email::Sender
Email::Simple
I cannot figure out whats wrong. Is there any pre-setup required for these modules to work?
Email::Sender is as of 2009 the best sending module; it needs no pre-setup. You configure the transport, e.g. SMTP, and its options, e.g. hostname, at runtime. See the linked synopsis.
I use Net::SMTP because it's a standard Perl module. This means it's always available no matter which machine I'm on.
Net::SMTP is not quite as simple as specific Email modules, but it still doesn't require an advanced degree in rocket science either.
Here's an example where I'm using it. Look at lines numbers 767 to 817.

Licensing implications of calling 7-Zip from within proprietary application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I want to use 7-Zip within my proprietary application.
7-Zip is LGPL
Consider that within my application I call via its command line interface using system() something like this: system( "7-Zip -blah -blah" );
If I use 7-Zip this way do I have any obligations under the LGPL?
If I want to distribute 7-Zips' 7z.dll and 7z.exe with my application so that the user does not need to install 7-Zip separately do I have any obligations under the LGPL?
Thanks
If the user is providing 7zip, no.
Yes, you would need to provide the 7zip source if requested as you are distributing binaries.
You can also use the 7zip DLL directly without issue as it is LGPL - once again you would need to offer the 7zip source code.
Use the lzma SDK directly, that code was placed in the public domain (see the headers if you don't believe me) so you are fine to incorporate it into your app without having to worry about the LGPL.