Results 1 to 2 of 2
Related
-
Problem with excel file writing using PERL Forum: CGI Perl Forum
Replies: 0 -
Execute external program in perl/cgi Forum: CGI Perl Forum
Replies: 2 -
How to check File is Valid or Not in PERL? Forum: CGI Perl Forum
Replies: 2 -
Running a batch script file from Perl CGI Forum: CGI Perl Forum
Replies: 0
-
04-16-2005, 10:28 PM #1
How can i execute a perl file within perl programming...
i know about "include" for modules, but i need somthing that just executes a perl file, then leavs it.
here is what the problem is:
I have a page that gets info form an text file on the server, inbeded in that text file is a time stamp, when the page loads, it reads the time stamp and if a certain time expired, than it needs to execute the perl file that writes the file
the perl file that writes the file that it links to is an IRC BOT (it gets the names out of an irc chat room) the bot is in a constant loop. every once in a while the bot gets shutdown, so it needs to be restarted.
that should give you an idea of why i cant use "include" and what i need
Thanks,
-ALL
-
04-28-2005, 02:30 PM #2
Re: How can i execute a perl file within perl programming...
again, i figured out a way, i just uppened a socket to the server's file and then closed the socket. I know it isn't the best way to do it, but it should only need to do it about once every 15 days or so (whenever the time stamp expires).