English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have a perl script, so how do i connect it to the internet?

2007-01-31 06:46:30 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

You need to be more specific as to what this script is supposed to do and what type of system and connection it is doing it on.

If it's a CGI script, you upload it to the appropriate directory on the web server (cgi-bin or whatever), and do what you have to to make it executable.

If it's intended to make its own connection, then it needs to communicate with your sockets program; in Windows this is called winsock.

2007-01-31 07:28:56 · answer #1 · answered by injanier 7 · 0 0

to make sparkling the above reaction, "cgi-bin" is a folder that an online host frequently enables Perl scripts to run in. the element you ought to extremely search for isn't any matter in the journey that your internet host helps Perl CGI, so contact them first. in the journey that they say convinced, then you absolutely will decide on to do 2 issues: a million. confirm out the position those Perl scripts can execute, which ought to frequently be contained in the cgi-bin folder. 2. Set the most ideas-blowing permissions on the report. once you've FTP or shell get proper of entry to, poke round till you hit upon some position that permits you to regulate the report's attributes (now and again listed as "properties"). In there, must have an decision to set the eXecute permissions.

2016-12-03 07:07:09 · answer #2 · answered by ? 4 · 0 0

You need to look up socket programming in perl. You open a socket,
request a web page under a given http address and that is it. Or google it. Look at CPAN.

2007-01-31 07:02:14 · answer #3 · answered by blazkiar 2 · 0 0

It depends what you're trying to connect to. There are FTP and SQL libraries that let you put in your location, loging/password to connect. However, you have to determine what you're trying to accomplish first

2007-01-31 07:02:58 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers