I am about to attempt to create my first ASP page using PerlScript. I haven't a clue as to where to start. I was tasked with creating a Troubleshooter application. Ask a question, based on the reply, go to another question with more options, etc. Though I haven't figured out the specifics of how...
Thank you Mike and Stefano! With Mike's explanation and Stefano's code, I was able to get the following code working perfectly. Since this file will never be huge, I went with your first suggestions Mike, simply overwriting the file. Wow, I spent 2 frustrating days over this routine. It turned...
If I know the line # in my file of the line I want to modify, how do I modify it and put it back?
This is what I have so far, but don't know what to do next.
open(LIST, $users) || &ErrorMsg("Could not open users file.");
@data=<LIST>;
close(LIST);
print "Content-type...
Hmmm, I must be doing something wrong. I get several next/previous buttons on one output. Below is my subroutine along with my commented out foreach. Do I still need that? Or am I misnaming my arrays.
sub view {
# Read the database.
open(RESOLVED,"<$done_file") ||...
I have written a script that reads a database among other things. My problem is this. As the script is now, it'll read the entire database and print out each line (of the entire database) nicely formatted (using the FOREACH). What I want to do is grab 'x' amount of records, click next, get the...
Hmm, I tried that. I still get my pop-up window, but the main window remains changed. Here's the code:
if (form.emailaddr.value == ""){
alert('Email address required to play.');
form.emailaddr.focus();
return false;
}
else{...
I haven't known javascript that long, but I must have gone brain dead because I'm sure this is an easy task.
I have a function that if conditions return true, will open up a new page in a pop-up window. How do I also get it to change the page in the current window?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.