Re: Removing leading and trailing spaces

2007-10-06 Thread Gunnar Hjalmarsson
Judy & Jim Schueckler wrote: I need code to remove one or more leading or trailing spaces without removing internal spaces. perldoc -q space -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: first steps with mod_perl

2007-10-06 Thread Gunnar Hjalmarsson
Marek wrote: ... how to insert the DTD the right way: print start_html( -title=>'Secrets of the Pyramids', -author=>'[EMAIL PROTECTED]', -base=>'true', -target=>'_blank', -meta=>{'keywords'=>'ph

Removing leading and trailing spaces

2007-10-06 Thread Judy & Jim Schueckler
Regular expressions drive me crazy! I have a perl string variable that comes from a cgi form. I need code to remove one or more leading or trailing spaces without removing internal spaces. Please help! Jim Schueckler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e