Re: help! windows makes ^M in my forms?

2002-05-27 Thread Martin A. Hansen
hi drieux i had a look on you snippet of code. very neat, i didnt know =cut :))). however, im not happy with the regexing solution, since i cant get it to work: $scalar =~ s/\015\012?|\012/\n/g; what is this ^M anywat? carrige return? reading the perldoc -f chomp doesnt tell me if chomp deals

Re: Thanks for the books recommendation

2002-05-27 Thread drieux
On Monday, May 27, 2002, at 03:30 , Patrick Dempster wrote: > Sorry for the request receipt being on in this message, I forgot to turn > it > off after working with a different message earlier on this evening. > > Sorry, > Patrick [..] for what it is worth most folks wouldn't know the header

Re: Thanks for the books recommendation

2002-05-27 Thread Patrick Dempster
Sorry for the request receipt being on in this message, I forgot to turn it off after working with a different message earlier on this evening. Sorry, Patrick - Original Message - From: "Patrick Dempster" <[EMAIL PROTECTED]> To: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Monday, May 27, 2

Thanks for the books recommendation

2002-05-27 Thread Patrick Dempster
Hi Folks, A while ago I posted to the list a question asking if I should buy the perl cookbook, I was a bit concerned that the book would be "out of date" because of all the talk about perl 6 and such like, but the response from this list was that the book was an excellent investment. So, I decid

Re: bounces from list memeber(s)?

2002-05-27 Thread Kari Jakobi
Hello Perl Beginners, On Mon, 27 May 2002, 09:28:16 h [GMT -0400] (which was 15:28:16 h [GMT +0200] where I live) Tim Musson wrote: > Any one else having problems with sending mail to the list and > getting a junk back from <[EMAIL PROTECTED]> addresses? The > subject line in the headers a

Re: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread John W. Krahn
David Vd Geer Inhuur Tbv Iplib wrote: > > Hi, Hello, > I know how to delete 1 or more whitespaces at in a line using : > > while { > s/\s+//g; > } > close IN; > > #- > > But How do I specific delete 1 or more whitespaces at the end of the line ? > using : > >

in Re That ^m Issue

2002-05-27 Thread drieux
On Monday, May 27, 2002, at 09:15 , Jon Howe wrote: [..] > you should be able to regex this ^M in perl but I have a feeling it is an > entity representation not 2 individual chars I will check it out and post > unless anyone else knows and posts first. > > Jon [..] >> http://www.wetware.com/dri

Weekly posting statistics - 21/2002

2002-05-27 Thread Felix Geerinckx
Weekly posting statistics for perl.beginners - week 21 of 2002. >From Monday 2002-05-20 to Sunday 2002-05-26 there were 524 articles posted (25106 lines) by 134 authors, giving an average 3.91 articles per author, and an average article length of 48 lpa. The average number of articles per day w

Re: help! windows makes ^M in my forms?

2002-05-27 Thread drieux
On Monday, May 27, 2002, at 07:31 , Martin A. Hansen wrote: > > my nice cgi forms works beautiful under konq on linux. but the windows > machine generates ^M at the and of lines? this makes eval go fubar? how > can i prevent this??? http://www.wetware.com/drieux/pbl/RegEx/eolOut.txt may help

Re: ActivePerl problem

2002-05-27 Thread mark
> I would suggest you try changing it again. When you went in to change > it, did you have admin rights in the OS on that box? > > If it was not in the response to the Path cmd, then it did not 'take'. > > -- > [EMAIL PROTECTED] I figured out my problem. I didn't add it to the "Path" myself.

help! windows makes ^M in my forms?

2002-05-27 Thread Martin A. Hansen
my nice cgi forms works beautiful under konq on linux. but the windows machine generates ^M at the and of lines? this makes eval go fubar? how can i prevent this??? martin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Sudarsan Raghavan
Felix Geerinckx wrote: > on Mon, 27 May 2002 13:01:36 GMT, [EMAIL PROTECTED] (Harry > Jackson) wrote: > > > s/\s+$//g; > > As explained by Sudarsan Raghavan, the 'g' modifier is not necessary. > The '+' in '\s+' gobbles up all trailing whitespace. You can refer to me as just Sudarsan :-) > >

[ot?] bounces from list memeber(s)?

2002-05-27 Thread Tim Musson
perl listrs, Any one else having problems with sending mail to the list and getting a junk back from <[EMAIL PROTECTED]> addresses? The subject line in the headers are not readable, but my eMail client interprets it as ¸ÞÀÏ Àü¼Û ½ÇÆÐ ¾Ë¸² <[EMAIL PROTECTED]> and ¸ÞÀÏ Àü¼Û ½ÇÆÐ ¾Ë¸²

Re: AW: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread David vd Geer Inhuur tbv IPlib
Thanks it works !! I also got a private e-mail that said : s/\s+$//; And that also works ! Regs David -- > > Hi David. > > if you have an variable like this > > $mystring = "hello this is a string "; > $chop($mystring); > > the chop command is what you are looking f

RE: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Felix Geerinckx
on Mon, 27 May 2002 13:01:36 GMT, [EMAIL PROTECTED] (Harry Jackson) wrote: > s/\s+$//g; As explained by Sudarsan Raghavan, the 'g' modifier is not necessary. The '+' in '\s+' gobbles up all trailing whitespace. > $\ is a global which hold your end of line terminator (I think) In fact, '$\'

Re: AW: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Felix Geerinckx
on Mon, 27 May 2002 12:57:20 GMT, [EMAIL PROTECTED] (Heiko Heggen) wrote: > $mystring = "hello this is a string "; > $chop($mystring); > > the chop command is what you are looking for I think. > Just try it out. No it isn't. From 'perldoc -f chop': chopChops off the last character

Re: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Sudarsan Raghavan
David vd Geer Inhuur tbv IPlib wrote: > Hi, > > I know how to delete 1 or more whitespaces at in a line using : > > while { > s/\s+//g; > } > close IN; > > #- > > But How do I specific delete 1 or more whitespaces at the end of the line ? > using : > > while { >

RE: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Jackson, Harry
> -Original Message- > From: David vd Geer Inhuur tbv IPlib > [mailto:[EMAIL PROTECTED]] > Sent: 27 May 2002 13:49 > To: [EMAIL PROTECTED] > Subject: Remove 1 or more whitespaces at the end of $_ > > > > Hi, > > I know how to delete 1 or more whitespaces at in a line using : > > whi

AW: Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread Heiko Heggen
Hi David. if you have an variable like this $mystring = "hello this is a string "; $chop($mystring); the chop command is what you are looking for I think. Just try it out. Heiko >>-Ursprüngliche Nachricht- >>Von: David vd Geer Inhuur tbv IPlib >>[mailto:[EMAIL PROTECTED]] >>Gesend

Remove 1 or more whitespaces at the end of $_

2002-05-27 Thread David vd Geer Inhuur tbv IPlib
Hi, I know how to delete 1 or more whitespaces at in a line using : while { s/\s+//g; } close IN; #- But How do I specific delete 1 or more whitespaces at the end of the line ? using : while { s/$\s+//g; } close IN; Didn't work. Does anyone have the solutio

Re: ActivePerl problem

2002-05-27 Thread Tim Musson
Hey mark, My MUA believes you used Microsoft Outlook Express 5.50.4522.1200 to write the following on Sunday, May 26, 2002 at 7:36:13 PM. >> It has always just worked for me... when you drop to a cmd prompt and >> type 'path' what do you get? here is what mine looks like >> PATH=D:\Perl\bin\;

Re: Making a binary distribution (ppm/ppd)

2002-05-27 Thread Felix Geerinckx
on Sat, 25 May 2002 01:36:24 GMT, [EMAIL PROTECTED] (Beau E. Cox) wrote: > So...I want to create a binary 'PPD' distribution that can be > installed with ActiveState's PPM utility. > > I have not been able to find "good" documentation (by good, I > mean basic enough for me to understand) on bui

Access to http:// via e-mail request

2002-05-27 Thread Babichev Dmitry
Hello, beginners. Sorry to trouble you. I'm new in perl. I want to create script which can parser email request and send user http:// content adresses which user want to see. Do you have any ideas how i can to do this ? Which CPAN modules i must use ? Which features i must have on my server (Pe