I figure someone here might know, and I've been wondering for years.
Where did 'foo' and 'bar' come from?
Thanks,
Ryan
How can I change my @INC variable? Can I just:
@INC = (@INC, "/home/me/libs/");
It seems like I would need to change it before my perl program starts...
Also, if I put a .pm file in one of the @INC dirs, will I be able to:
use module;
even if it is not in the main system perl libs?
Thanks,
R
For those of you trying to get your CGI's to send mail AND use -T, here's the solution
I found, and for those of you who know what they're doing, please let me know if I
have any gaping security holes here.
First, create a small shell script that looks like this:
#!/usr/bin/sh
/usr/bin/mail
iptop <[EMAIL PROTECTED]>
To: Ryan Davis/Pamela Karr <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 11:16 AM
Subject: Re: Still having problems sending mail...
> Ryan Davis/Pamela Karr wrote:
> >
> > I'm still trying to get my scrip
I'm still trying to get my script to send some a simple email. I looked up
some examples, namely : http://perlfect.com/articles/sendmail.shtml,
but it still doesn't work. I'm using the -T switch, and heres the code
fragment:
First, I define my variables:
#variables for sending mail
my $sendmai
I'm trying to get email myself the results of a form, so I can moderate a
list, and delete an entry if anyone puts in cuss words... I'm trying to do
it with a
system("\(mail [EMAIL PROTECTED] < messages\)\&");
The page loads to this point, then quits. I put the & in to run the mail
program in