... Be careful what you wish for! ... I edited Don's script for clarity. Mainly, I lined up some of the comments and added some spacing. I did change the order...
Hi, How to include a file within script? Say I have a file called "top.txt" in the root dir, and I want the perl script to display the pure texts contents of...
Charles, Once again, I thank you for the lesson. Sometimes I feel like I'm walking through thick mud. I'm addicted to this message board but what I'm learning...
Malai <malaikat@...> ... my $file_name = '/top.txt39;; open FH, $file_name or die "$file_name: $!"; while ( <FH> ) { print; } close FH; The 'while39; block...
8009
Onyx Web
onyxweb13@...
Jan 2, 2002 7:32 am
I need help with sending a form to a thankyou.html page while still submitting the info to an email. Currently I am using form2mail in this way: <form...
Hi Members,
My question :- Could members please help me to understand why $b is not
incremented within the while loop below.
Just a comment :-
Originally, I...
I'd probably try redirecting right from inside the cgi script. Try putting this line in the cgi script below the code that processes the form: print "Location:...
8012
Oliver Manickum
oliver@...
Jan 2, 2002 8:03 am
When you use the 'my' operator, you define your variable, resetting any data that was in it. try changing your code logic to suit ur need. - Olly ... From:...
I got Perl 5.6 installed on my Sun boxes. After which I tried to install the Tk module. I first had the tar file copied to /my/perldirectory/lib/site_perl/. I...
Hi Chris, Does the makefile.pl comes with the Tk tarball (as mentioned, it doesn't)? Or do I have to create a new makefile.pl if it does not exist? If I have...
Adrian, I have turned on strict, now I am getting compilation errors. I assume that is exactly what I should see. Now, what do I do to resolve the "requires...
This just mean you need to declare the variable names [using "my ($variable1, $variable2);" would be easiest here for you.]. It's a way for use strict to make...
8020
Franki
frankieh@...
Jan 2, 2002 3:40 pm
Hi everyone, hope you all had a wonderful new years.... I have a question that isnt' a code question per see... I want to start using strict on everything, but...
"Leon" <eventualdeath@...> ... $a and $b are special global variables in perl. They are used in 'sort'. They can also be referred to as $main::a and...
Sorry to sound so ignorant, but what I believe you just said was the following: I declared: $MyOutFile = "/tmp/harvey@..."; but using...
8024
Franki
frankieh@...
Jan 2, 2002 5:24 pm
I remember writing a space invaders clone for my Commodore64 with sprites sound the whole thing, 10,000 lines of basic.. I was very impressed with myself back...
After I develop a script on my PC under NT4.0, I will want to copy it out to a production server and run it there. I don't want to install Perl to the...
8026
Franki
frankieh@...
Jan 2, 2002 5:33 pm
Just thougth of a related question.. What do you do, if you have a sub that opens a file and assigns a value from that file to a variable..(purely...
8027
Franki
frankieh@...
Jan 2, 2002 5:42 pm
how complicated is your script? I wondered about this myself once, and I found alot of stuff for converting perl to .bat files that don't require perl to be...
What is windows scripting? Thanks, Don ... converting ... fance your ... web server ... to use ... will run on ... webserver, ... (since thats ... particularly...
... No worries, we all have to learn in this world. Plus, this wouldn't be called the Perl-Beginners Mailing List if we weren't able to answer questions. :) ...
Wow. That makes perfect sense. Why don't you revise some of the crappy (I'm a hardcore coder) documentation, and write books for O'Reilly. Even their Beginning...
It's not complicated. It's not CGI. It's going to be a script that runs an infinite loop checking the date and time of a file on 7 servers and displaying the...
... I've actually thought about this quite a bit. I'm currently working on a sci-fi novel (yeah, seriously), but maybe I should take a break and write some...