Take a look at the if statement below. I think you want <= not just <
-Original Message-
From: Mary Anderson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 11:42 AM
To: beginners-cgi@perl.org
Subject: perplexing popup problem -- CGI .pm bug?
I am having a problem with popup-me
The cgi attachment is here, but the html didn't make it.
The lack of comments comes from this:
tie(%mail, "SDBM_File", "c09ex3", O_RDONLY, 0)
or die "Error opening c09ex3. $!, stopped";
$mail{$email} = "$name|$comments";
untie(%mail);
The line
$mail{$email} = "$name|
You seem to be missing a quotation mark after $login. It looks like you
have got yourself caught in a loop because you call one script from
another without exiting the first one, so the first script becomes the
location you are in. Try printing your location when you enter each
script to see where
It depends on how you are using your scripts. The most "expensive"
aspect of the files is the IO used to read them from the hard drive they
reside on. If you are calling on the scripts multiple times and they
have to be read each time, rather than being cached in memory, then you
only want to read
Are you just printing lines and directing the output to the Linux Mail,
or are you using the Perl Mail package on Linux?
Mail::Sendmail should work platform independent.
If that is what you are using, perhaps you might want to show a line of
code that you are using that needs to be modified for XP