Re: Change first character of a string into Caps

2002-02-09 Thread Eric Pretorious
e close. Use ucfirst() instead. To change the capitalization of several words (e.g., change 'eRic preTorioUs' -> 'Eric Pretorious') try... $foo =~ /(\w+)/\u\L$1/g; -- Eric P. Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Image Galleries On-the-Fly

2002-02-08 Thread Eric Pretorious
On Fri, 8 Feb 2002, Eric Pretorious wrote: > I'm hoping to build a CGI script that: > > 1. creates a thumbnail index of .jpg files in a directory, and > 2. serves full-size images > > wrapped in an HTML template, on-the-fly. I found the Apache::Album modlue and r

Image Galleries On-the-Fly

2002-02-08 Thread Eric Pretorious
Hello, All: I'm hoping to build a CGI script that: 1. creates a thumbnail index of .jpg files in a directory, and 2. serves full-size images wrapped in an HTML template, on-the-fly. I recall a similar thread a few weeks ago on this list but have misplaced the series of messages that trans

Re: Most effecient way to send mail to multiple users

2002-02-02 Thread Eric Pretorious
On Fri, 1 Feb 2002, Jones, Mark wrote: > I want my members area script to provide the capability of sending > email to every address in the MySQL database--say 1000 addresses. > I'm planning to just write a loop that reads each record and sends the > email to the address. Or, is there a way tha

Re: What modulo recomended for send emails?

2002-02-02 Thread Eric Pretorious
On Thu, 31 Jan 2002, Argenis Perez wrote: > Hi friends > Please What modulo recomended for send emails that i can attachment a > file. > Thanx Argenis: For sending mail with MIME attachments, I recommend MIME::Lite. There's even a good article on The Perl Journal describing how to use it: ht

Re: learn java

2002-01-29 Thread Eric Pretorious
On Tue, 29 Jan 2002, william wrote: > Where can I learn java (beginner) instead on the java.sun.com? Probably by asking that question on a java-related mailing list. -- Eric P. Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Module to maintain state for CGI?

2002-01-29 Thread Eric Pretorious
Bill: Ruben Lerner ("At the Forge", Linux Journal Magazine) has written a series of articles about using Mason to maintain state. That's all I know on that subject. On a related note: Have you considered using cookies? -- Eric P. Los Gatos, CA On Mon, 28 Jan 2002, Daedalus wrote: > Hi all,

Modules for parsing RFC822 mail headers

2002-01-10 Thread Eric Pretorious
Hello, All: I'd like to write a script that recieves e-mail (via the /etc/alias feature of sendmail/postfix) and parses the header fields. (e.g., From:, To:, Subject:). I've perused the MailTools-1.42 documentation but it's way to hairy for my simple brain. (I haven't gotten a handle on Objec

Re: Global Variables

2001-11-01 Thread Eric Pretorious
On Thu, 1 Nov 2001 [EMAIL PROTECTED] wrote: > Need some help. > > I think that I need to be using global variables. Unless Someone has a> > better solution. > > What I am trying to do is. I want to set a variable for such things as > > FONT_COLOR=00 > BACKGROUND_COLOR=55 >

SMTP: Capturing delivery status

2001-10-28 Thread Eric Pretorious
Hello: Is there a simple way to send an e-mail and capture the delivery status in a perl script? I'd like to create a CGI script that will collect visitors' e-mail addresses (from an html form) and send the visitor a positive .html message if the greeting is successfully sent to the address that