How to execute a .pm file on web page [closed] - perl

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was given two .pm files that I need to trace... problem is I haven't encountered one before and I don't know how I can run it on web page for tracing.
Do I just need to upload those .pm files on my web server, go to url pointing to its location?
I'm clueless.

A .pm file is just a Perl module. There are quite a few interfaces that can be used to run Perl code on a webserver (including PSGI/Plack, FastCGI, mod_perl and CGI). The specifics of how you use the modules will depend on how they are designed to interface with the server. The files you have might not even be intended to be used directly.

Depending on what you are trying to acieve you may have to create a perl-script using these pm files. You cant directly acess them using a webbrowser because these filea are more like libraries than like scripts you can run.

Related

perl script to merge multiple xml files in one file [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have thousands of XML files which I want to merge into one single XML file. In java I can do it in seconds but very new in perl script. Can anybody please suggest How can we do this using perl script? Every suggestion is appreciated. All the XML files have same structure, same encoding. The only thing different is the data b/w the tags.
Parse both docs. I'd use XML::LibXML. Find the node that is to be the parent of the nodes you want to merge in. For each node you want to merge in, insert that node as a child of the previously found parent.

creating an iOSOpenDev application and a tweak in the same package [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I've spent three days looking how to create (using iOSOpenDev) one package (.deb) containing an application and a tweak at the same time and I could not find anything.
It is possible to do this?
What you can do is in the xcode project, create two targets (one tweak and one application), both using iOS open dev, and then package them in the same deb. The way you would package them both is creating the correct path to the applications folder (/Applications/YourApp.app) and the path to where your tweak goes (/Library/MobileSubstrate/DynamicLibraies) in the same deb folder, and then build the folder by typing this in terminal
sudo dpkg-deb -b YourDebFolder
The folder should look like this
Where DEBIAN contains the control file, Library contains a subfolder named MobileSubstrate, which then contains another subfolder DynamicLibraries, which contains the tweak, and the Applications folder contains the YourApp.app file.

How to link apache tomcat 7 and postgresql [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I can't find a way to link apache tomcat and postgresql. I tried following this link from apache documentation. But I can't figure out where to put what with file, folder
Everything is a blunder, please help.
Of course it's possible. Maybe you should re-install Google: It surely can find things that will help you.
Start with a JDBC tutorial. That'll sort out connecting to PostgreSQL.
Next you'll need how to create a web app and deploy it on Tomcat. Look at First Web App. While you're there, see about JNDI data sources.
Do you know how to write a servlet? Learn that.
Those are the pieces you'll need. UI is another matter, but this will show you the server side. Good luck.

How to use perl code? Where to paste it? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was looking through google for a software that would meet my needs and found very short, 12 lines with regular expressions (whatever this is), perl code. The person who posted it is claiming to say, to others, that this code does what I want. But since Im not programmer I don't know what to do with it? I might need to paste it into txt file and save it somehow but the code is supposted to use text files. I don't think I would be able to use text files inside another text. My purpose is to filter email addresses from giant messy txt files. Im trying to use this code (but don't know what to do with it): http://linuxconfig.org/extract-email-address-from-a-text-file
You run the program using perl. Instructions for getting perl are provided at: http://www.perl.org/get.html
Then see learn.perl.org for getting started instructions.
Assuming you are using a UNIX-like operating system (i.e. not Windows) the process is:
Put the code in a text file on a system with perl installed
Make it executable (chmod +x filename)
Run it as per the example under "Execution".
Save the content to a file named e.g.
extract.pl
And install per for windows: http://strawberryperl.com/ ; if you are on Unix, well done.
now you can execute the script by opening a console window, changing in the directory where the script is saved and execute
perl extract.pl < yourtextfile.txt

how to Include another application in my application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
In my application i was supposed to include/access/bring another application which is installed in iPhone. I don't have the source code for the other application. I googled several references which says that i should include the source file of another application without ticking copy options. but the problem here is i don't have the source file of the application.
If you're hoping to "embed" another application so that it appears to be part of your own then you're going to be out of luck (i.e. this cannot be done) without the source.
If you'd like to launch another application (say facebook) then you can use URL schemes, there's a good reference here: http://wiki.akosma.com/IPhone_URL_Schemes
If you have something else in mind you'll have to rephrase the question as others have already said, it's not entirely clear.