Re: trouble with checkbox group...

2002-05-11 Thread Felix Geerinckx
on Sat, 11 May 2002 01:55:06 GMT, Jake wrote: foreach $person(@people){ if($person==otherPer){ $seeList .= $newGuy; }else{ $seeList .= $person.,; } } '==' is used for *numerical* comparisons. If you want to compare strings, use

Multiple emails with Sendmail

2002-05-11 Thread Troy May
Hello, I'm trying to figure out how to send emails through Sendmail with an email list that could change at any given time. I'm trying it with a text file now: (file is in this format: email, email, email, email) - $mailprog = '/usr/sbin/sendmail';

RE: running system command on another host

2002-05-11 Thread Timothy Johnson
What OS are the target and originating machines? -Original Message- From: Simon K. Chan To: Beginning Perl Sent: 5/10/02 10:41 PM Subject: running system command on another host Hi All, I've never tried something like this before, so my apologies if it's easy We all know about the

Re: apache::session

2002-05-11 Thread Matthew Harrison
just going back to this thread again, i know people have given me examples, but i am a relative newbie so could someone please just give me a sample webpage etc with the apache::session code in it? On Friday 10 May 2002 1:08 pm, Matt C. wrote: You may want to check out the following link: The

Creating a byte buffer

2002-05-11 Thread Beau E. Cox
Hi - There must be an easy way to do this...but I can't figure it out. I want to create a buffer of 8-bit bytes (to send to an external C++ application). The perl script creates values 0 = value = 255 (it's 8 bit audio data) and I want to put them into a perl scalar to pass to my C++

Two listening port.

2002-05-11 Thread senrong
As I am quite new to perl, I want to ask. If I have two listening port, on 1222 and 1233. So how do I actually listen to both port at the same time... As I am doing preforking, it seem to have some problem with multiplexing Can anyone help me out?

Is there a PDA for Perl?

2002-05-11 Thread Yasen Petrov
Hi all, I'd like to get a Pocket Computer which will run Perl. Is that possible and where to find it. This could safe lot of time, in it? Cheers. Yasen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parallel Fork Manager recommendations?

2002-05-11 Thread Zachary Buckholz
Thanks for your articles, I read them this morning. I am still digesting the information and will read them again this weekend to make sure I didn't miss anything. Also thanks for your books, I have Learning Perl paperback, and the Perl CD Bookshelf which I use daily. Thanks zack Randal L.

RE: Is there a PDA for Perl?

2002-05-11 Thread Tucker, Ernie
http://www.perldoc.com/perl5.7.3/README.ce.html Ernest P. Tucker II Network Technician Madison Management Area Charter Communications -Original Message- From: Yasen Petrov [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 11:00 PM To: [EMAIL PROTECTED] Subject: Is there a

our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread drieux
On Friday, May 10, 2002, at 07:07 , Tanton Gibbs wrote: Yes you can say our $opt_m; or use vars qw($opt_m); at the top of your program (depending on perl version). I've been preached the orthodoxy of the later - but have never understood the distinction... Yes, have read coping with

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Jonathan E. Paton
Yes you can say our $opt_m; or use vars qw($opt_m); at the top of your program (depending on perl version). I've been preached the orthodoxy of the later - but have never understood the distinction... Yes, have read coping with scoping. anyone have a human language

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Jonathan E. Paton
Yes you can say our $opt_m; or use vars qw($opt_m); at the top of your program (depending on perl version). I've been preached the orthodoxy of the later - but have never understood the distinction... Yes, have read coping with scoping. anyone have a human language

Re: running system command on another host

2002-05-11 Thread drieux
On Friday, May 10, 2002, at 10:41 , Simon K. Chan wrote: [..] I've never tried something like this before, so my apologies if it's easy the problem is that it 'looks easy' - and actually is a part of why there is so much 'network code' in the Net::* section - to try and deal with the problem.

Re: Is there a PDA for Perl?

2002-05-11 Thread Jason Wong
On Saturday 11 May 2002 12:00, Yasen Petrov wrote: Hi all, I'd like to get a Pocket Computer which will run Perl. Is that possible and where to find it. This could safe lot of time, in it? Cheers. For Psion/Epoc: http://www.science-computing.de/o.flebbe/perl/ -- Jason Wong - Gremlins

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Felix Geerinckx
on Sat, 11 May 2002 17:00:27 GMT, Jonathan e. paton wrote: Note that 'use vars' is supposedly depreciated, so don't use it if your script depends on 5.6 features. Placing 'our' in a lexical scope probably makes it externally visible until you leave the scope, 'use vars' imports into your

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Jonathan E. Paton
Note that 'use vars' is supposedly depreciated, so don't use it if your script depends on 5.6 features. Placing 'our' in a lexical scope probably makes it externally visible until you leave the scope, 'use vars' imports into your symbol table. Hope this is right :) That's not how I

Another RegEx Exercise

2002-05-11 Thread drieux
thought I would formalize the play a bit, and see what folks think about: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/RegEx/HowPatternsEvolve. txt ciao drieux - Remember the gospel of RegEx 1:1 Yeah, I will give up my Regular Expressions, when thou giveth up thy

Re: Another RegEx Exercise

2002-05-11 Thread bob ackerman
On Saturday, May 11, 2002, at 01:12 PM, drieux wrote: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/RegEx/HowPatternsEvolve. txt Lo! another wapped url which readers will chop off and get wrong. urk. how Do we avoid that? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Another RegEx Exercise

2002-05-11 Thread Eric Beaudoin
At 16:30 2002.05.11, bob ackerman wrote: On Saturday, May 11, 2002, at 01:12 PM, drieux wrote: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/RegEx/HowPatternsEvolve. txt Lo! another wapped url which readers will chop off and get wrong. urk. how Do we avoid that? I think we just

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Felix Geerinckx
on Sat, 11 May 2002 18:10:41 GMT, Jonathan e. paton wrote: You've never seen the implementation of 'use vars' then :) The tail end of which is: [...] Which I assure you has a LOT to do with importing into symbol tables. This is the reason 'use vars' is package scoped. Thanks for

Re: Creating a byte buffer

2002-05-11 Thread drieux
On Saturday, May 11, 2002, at 03:09 , Beau E. Cox wrote: Hi - There must be an easy way to do this...but I can't figure it out. I want to create a buffer of 8-bit bytes (to send to an external C++ application). The perl script creates values 0 = value = 255 (it's 8 bit audio data)

Re: Is there a PDA for Perl?

2002-05-11 Thread Paul Johnson
On Sat, May 11, 2002 at 06:00:11AM +0200, Yasen Petrov wrote: Hi all, I'd like to get a Pocket Computer which will run Perl. Is that possible and where to find it. This could safe lot of time, in it? Cheers. I had a play with a Sharp Zaurus today (they've finally got to Switzerland). It

Re: our v. use vars - wasRe: use Getopt::Std; and use strict;

2002-05-11 Thread Paul Johnson
On Sat, May 11, 2002 at 08:43:13AM -0700, drieux wrote: On Friday, May 10, 2002, at 07:07 , Tanton Gibbs wrote: Yes you can say our $opt_m; or use vars qw($opt_m); at the top of your program (depending on perl version). I've been preached the orthodoxy of the later - but

Re: timestamp of files in perl

2002-05-11 Thread drieux
On Tuesday, May 7, 2002, at 09:15 , Nikola Janceski wrote: [..] The factual part, I could do a system call and 'touch' the links to the time I want. But I was hoping for a perl way of doing that. [..] this could be a 'semantic' issue - and I am jack rabbitting on the token 'link' here - but

der touch tool in perl

2002-05-11 Thread drieux
On Tuesday, May 7, 2002, at 07:43 , Nikola Janceski wrote: Anyone know of a method in perl to change the timestamp of link so it looks OLDER http://www.perl.com/language/ppt/src/touch/touch.abigail cf: perldoc -f utime make the call how much code DID you want to write? ciao drieux

If you can't fix the mailer - fix the link

2002-05-11 Thread drieux
On Saturday, May 11, 2002, at 01:12 , drieux wrote: thought I would formalize the play a bit, and see what folks think about: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/RegEx/HowPatternsEvolve. txt http://www.wetware.com/drieux/pbl/RegEx/HowPatternsEvolve.txt sorry about that

Re: If you can't fix the mailer - fix the link

2002-05-11 Thread bob ackerman
On Saturday, May 11, 2002, at 05:35 PM, drieux wrote: On Saturday, May 11, 2002, at 01:12 , drieux wrote: thought I would formalize the play a bit, and see what folks think about: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/RegEx/HowPatternsEvolve. txt

perl can do touch of files, but not of symbolic links

2002-05-11 Thread drieux
http://www.wetware.com/drieux/pbl/Sys/touchLinkProblem.txt ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How determine email message size?

2002-05-11 Thread Uriel Wittenberg
I'd appreciate if someone could advise which list is appropriate for the following question. Thanks / Uriel - Original Message - From: Uriel Wittenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 11, 2002 10:07 AM Subject: How determine email message size? Could

Mail?

2002-05-11 Thread Bill Lyles
Hi I'm making a script that will sent info to a user verify. like this $MAIL-datasend('.$fname'.\n); is this correct or not Also I need to know how I can include a cc to myself Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: If you can't fix the mailer - fix the link

2002-05-11 Thread Timothy Johnson
And for those of you that are interested, the same applies to UNC paths in many email clients. This fixes the wrap-around problem, but more importantly, it fixes the some dumbass put a space in the share name problem. E.g. \\borg\collective\seven of nine -Original Message- From: bob

RE: Mail?

2002-05-11 Thread Timothy Johnson
What module are you using to send the mail? -Original Message- From: Bill Lyles To: [EMAIL PROTECTED] Sent: 5/11/02 6:48 PM Subject: Mail? Hi I'm making a script that will sent info to a user verify. like this $MAIL-datasend('.$fname'.\n); is this correct or not Also I need to

Re: Mail?

2002-05-11 Thread Tim Musson
Hey Bill, My MUA believes you used Microsoft Outlook Express 6.00.2600. to write the following on Saturday, May 11, 2002 at 9:48:14 PM. BL I'm making a script that will sent info to a user verify. BL like this $MAIL-datasend('.$fname'.\n); BL is this correct or not BL Also I need to know

Re: Mail?

2002-05-11 Thread Bill Lyles
Ok here is the mail script Please note that the variables are taken from a form This line is at the top use Net::SMTP; these are the variables $adminmail = 'q^webmaster2\@adelphia.net^'; $fname = $field{'fname'} ; $lname = $field{'lname'} ; $address = $field{'address'} ; $city =

Re: Mail?

2002-05-11 Thread Michael Kelly
On 5/11/02 7:56 PM, Bill Lyles [EMAIL PROTECTED] wrote: Ok here is the mail script Please note that the variables are taken from a form This line is at the top use Net::SMTP; these are the variables $adminmail = 'q^webmaster2\@adelphia.net^'; Assuming your email address is

Multiple emails with Sendmail

2002-05-11 Thread Troy May
Hello, I'm trying to figure out how to send emails through Sendmail with an email list that could change at any given time. I'm trying it with a text file now: (file is in this format: email, email, email, email) - $mailprog = '/usr/sbin/sendmail';

Re: Multiple emails with Sendmail

2002-05-11 Thread Michael Kelly
On 5/11/02 9:05 PM, Troy May [EMAIL PROTECTED] wrote: Hello, I'm trying to figure out how to send emails through Sendmail with an email list that could change at any given time. I'm trying it with a text file now: (file is in this format: email, email, email, email)

Re: Mail?

2002-05-11 Thread Bill Lyles
I still can't get this to work Thats why I hate being a newbie so I'm attaching the form page and the script some please tell me what I'm doing wrong Everytime I run it my browser it just says the page cannot be displayed Thanks - Original Message - From: Tim Musson [EMAIL

Re: Mail?

2002-05-11 Thread Michael Kelly
On 5/11/02 9:27 PM, Bill Lyles [EMAIL PROTECTED] wrote: Hi Bill, I still can't get this to work Thats why I hate being a newbie so I'm attaching the form page and the script some please tell me what I'm doing wrong Everytime I run it my browser it just says the page cannot be