Re: Send mail question

2002-05-10 Thread Christopher G Tantalo
Lance Prais wrote: > If I am going to sendmail from an Internet using CGI does anyone know all > the modules I will need to install? This may answer all my questions. > > Thank you > Lance > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Th

Re: HTML in E-mail

2002-06-04 Thread Christopher G Tantalo
Nikola Janceski wrote: > To new perlmongers: > > I hope that whoever started this thread isn't the one who is send out the > ugliest spam (HTML attached as a txt file) to mine and others accounts. I > don't get much spam, but the only reason I do is because people on lists, > such as this one, ta

Re: HTML in E-mail

2002-06-04 Thread Christopher G Tantalo
fliptop wrote: > best/worst whore in cleveland, or whatever, i dont know what kinda perl code you were working on there ;) ... but i found some of the conversation somewhat helpful.. like the SpamAssassin reference. i never heard of that.. now i can look into it.. -- ---

Re: The Cannons of True Faith

2002-06-04 Thread Christopher G Tantalo
drieux wrote: > On Tuesday, June 4, 2002, at 09:19 , David T-G wrote: > [..] > > % > > % Is there an official site dedicated to the True Cannons of Perl? > > > > Don't know about that, I'm afraid. I'd love to see some analysis of best > > practices but, > [..] > > I am intentionally avoiding fli

Re: Less than a second?

2002-07-12 Thread Christopher G Tantalo
Octavian Rasnita wrote: > Hi all, > > I want to calculate how much time a Perl script runs. > Can you tell me how to calculate using fractions of a second? if you are doing this in unix, have you tried the timex command? -- --- Just Your Friendly Neighborhood _SPIDEY_

Re: Monitor a POP3 account

2002-09-03 Thread Christopher G Tantalo
fliptop wrote: > On Tue, 3 Sep 2002 at 11:05, Mike(mickako)Blezien opined: > > M:Need to come up with a script to monitor a special POP3 account that will be > M:used to tigger another script.. was hoping someone could direct me or supply an > M:example of how to retreive an email from a POP acco

Re: retain same file name when uploading

2002-09-09 Thread Christopher G Tantalo
Camilo Gonzalez wrote: > Naomi, > > The purpose of this list is not for us to write programs for you but to help > you overcome any specific problems you may have. Please post specifically > what you think the problem(s) are and the kind Perl gurus here will be all > too happy to assist you. Cam

Re: Rounding a number

2002-09-12 Thread Christopher G Tantalo
Octavian Rasnita wrote: > Hi all, > > I would like to round a number but to the next integer not like the int > function does. > > I've tried: > > my $num = 1.33; > $num = $num + 0.49; > $num = sprintf "%.0f", $num; > > This works but I am wondering if there is a cleaner and better solution >

[OT] Barcode scanner & CGI

2002-09-24 Thread Christopher G Tantalo
Kind of on the same path as the barcode discussion, i had an idea to write a catalog for comics based on the barcode. My problem was in decoding what the barcode meant. As in what information is encoded in it? I know grocery stores use them for pricing etc., but how do they get that information

Re: Weekly list FAQ posting

2002-11-14 Thread Christopher G Tantalo
I have noticed that ever since I have signed up for numerous different perl mailing lists, I have been getting unwanted emails. Funny thing is, I am 100% sure my address has been snarfed from one of these mailing lists due to the fact that we are denied net access here at work. So whatever can b

Re: Running a Perl program countinuously

2002-11-18 Thread Christopher G Tantalo
Octavian Rasnita wrote: > Hi all, > > I want to make a Perl program that runs permanently without stopping. > How can I do this? > > I could run the program from shell using: > > nohup perl script.pl & > > . but if for some unknown reasons the process will be stopped, it won't > restart automa

Re: Running a Perl program countinuously

2002-11-18 Thread Christopher G Tantalo
"J. Alejandro Ceballos Z." wrote: > Octavian Rasnita wrote: > > >Hi all, > > > >I want to make a Perl program that runs permanently without stopping. > >How can I do this? > > > > > > > via shell loop> > > while true > do > the program > done that will spawn a new process off every iteratio

Re: Running a Perl program countinuously

2002-11-20 Thread Christopher G Tantalo
Octavian Rasnita wrote: > Thank you. > > Please tell me how can I verify if the process is running. > > Teddy, sorry, was OOO yesterday so i didnt get this, but zentara beat me to the punch :) Basically just scanned the system processes for my process. If it was not running, I would restart it.

Re: clarification scrolling list (code incl)

2002-11-25 Thread Christopher G Tantalo
not that i know how to do this... but arent you passing a reference to hash there and not an array like flip mentioned? (dont have cgi installed here at work, so i cant check the docs.. no web access either...just going off of basic perl knowledge) chris -- --- Just Your

Re: cgi session

2002-12-05 Thread Christopher G Tantalo
Admin-Stress wrote: > Hi, > > How can I check cgi session? mmm .. maybe better I explain like this: > > I just want to make a 'secure site' that need username and password. So, the first >page of my site > would be "fill in you username and password", for example, it will be placed here : > >

Re: automatically downloading files into a certain directory

2002-12-12 Thread Christopher G Tantalo
Anette Seiler wrote: > Dear members of the list! > > I want to do something where I am not sure it can be done with perl... > > Basically a user should klick on a button on a website. Then the script > should create a file with certain information from a database on the > webserver (that's easy) a

warning message

2003-04-02 Thread Christopher G Tantalo
Hello, In a recent perl script I wrote, I have a procedure, read_config(), which reads a config file I have set up and sets a hash to what is in the file. Now, before you mention it, I have stricts on and use the -w on the 1st line, and the following message appears. main::read_config() calle

Re: Empty values

2003-12-01 Thread Christopher G Tantalo
In your retrieval of the values, i believe you would need to store the results in an array, since you are returning more than one value. So in your example.$row[1] would be your person value.it should look like... while(my @row = $sth->fetchrow_array) { print "$row[1]"; } As for the sele

Re: Beta Testing a Robot

2003-12-04 Thread Christopher G Tantalo
Casey West wrote: I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove it if I find that it does a bad job. Casey West This does seem like a good id

Re: Loading libraies into static Perl

2004-01-20 Thread Christopher G Tantalo
zentara wrote: On Mon, 19 Jan 2004 06:36:03 -0800, [EMAIL PROTECTED] (Shawn Sharp) wrote: I am trying to create a stand alone (static) program in Perl (no shared libraries). I have tried perlcc -L /lib perl.pl but am not have any luck. This will create an executable but you still need the shar

Re: Email module

2004-02-09 Thread Christopher G Tantalo
Jan Eden wrote: Hi, which email module would you recommend? I searched CPAN and found a whole bunch. In CGI Programming with Perl, Mail::Mailer is mentioned, but since the book is a little older, this might not be the best choice. TIA, Jan I use Mail::Box::Manager 2.00 in a bunch of my perl

Re: next if statement....

2004-03-18 Thread Christopher G Tantalo
The slashes are similar to a reg-ex expression on $_ in your example. So basically it checks the line to see if that exists and does something. In your case, for the ip to work, all you would have to do is remove your quotes so the line matches, since the file doesnt have quotes around the ip

Re: Not reading the whole file

2004-05-19 Thread Christopher G Tantalo
Jan Eden wrote: Richard Heintze wrote on 04.05.2004: I think I solved my own problem. I'm using a my @backgr_data=; Or use my $backgr_data = join '', ; - Jan The dbi module would be the best solution, as the quote method supports any number of quotes in the string itself. --

Re: Not reading the whole file

2004-05-19 Thread Christopher G Tantalo
Christopher G Tantalo wrote: Jan Eden wrote: Richard Heintze wrote on 04.05.2004: I think I solved my own problem. I'm using a my @backgr_data=; Or use my $backgr_data = join '', ; - Jan The dbi module would be the best solution, as the quote method supports any number o