i have a perl script, so how do i connect it to the internet?
I have a perl script, how do i connect it to the internet?
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.
Reply: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
Reply: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.
wedding song
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment