Making perl modules executable [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 2 years ago.
Improve this question
I am new to Perl. I have created a Perl module(.pm). I am trying to make it executable. I wanna know is it possible to make Perl module executable or I am going wrong?
Thanks in advance.

Are you asking how to compile Perl code into machine instructions? There is no such tool. While Perl is compiled, it's compiled into high-level opcodes which require an interpreter to evaluate.

Related

compiling a Brainfuck hello world program [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 last year.
Improve this question
I found this weird programming language that is an attempt to create the smallest possible compiler called brainf*ck, and i honestly want to try it but i don't have any knowlegde about how to compile the code.
Can you help me compiling a hello world program in brainf*ck?
I found a minimal compiler, surprisingly made by this guy in this repository.
I made this interpreter in like 40 minutes. It's under 70 lines of code and it only uses standard libraries in C.
it can be built by typing
make
you will get brainfuck.exe
i compiled this brainfuck code
cat.b
,[.,]
using
./brainfuck.exe cat.b

Windows - Where can I find a system() list of parameters? [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 6 years ago.
Improve this question
This is my first question here in StackOverflow, so if this question has already been made or is in the wrong topic, please excuse me.
I'm studying C using Windows and I'm looking for a list/book/manual of usable parameters for the system() function. Stuff like system("pause"), system("cls"), system("color 1f"), etc...
Thanks for the help in advance.
The purpose of system() API is to execute an external command, the parameters are the arguments of the command that you are trying to execute, just like if you were typed in shell prompt, there is not anything special to pass, just put into the string.

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.

What are bindings in Perl? [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 9 years ago.
Improve this question
I've been trying to learn Perl, and on CPAN, I came across
Perl bindings for the libsvm Support Vector Machine library
What does bindings mean in this context?
I've never found this word before in computer science...
This kind of binding is the one that lets you use a library/API from one language (usually C, including in this case) in another language (in this case Perl).
An interface, a module that gives you access to the C library.
For example, my favorite XML parser is XML::LibXML, except it doesn't do any parsing. It's actually a glue layer that binds the objects and methods of the C++ libxml2 library to Perl objects and methods.

Writing to a Wiki [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
I need to write a script that writes (appends) data to an internal wiki that isn't public (needs username and password but unencrypted, http not https). The script can be a shell script, a Perl script, or even a Java application (last resort). Any help would be appreciated. Let me know if any additional information is needed.
Right now, I'm only able to read from the wiki using LWP Perl library using the getprint($url) function.
Thanks
If it's truly MediaWiki, then just use MediaWiki::API.