Re: truncating a string

2001-05-18 Thread David Merrill
On Fri, May 18, 2001 at 10:38:50AM -0500, John Joseph Trammell wrote: > On Fri, May 18, 2001 at 12:08:25PM -0400, David Merrill wrote: > > Hi, > > > > I'm working on my very first perl application, which is a front end to > > a database for the LDP. I am tr

truncating a string

2001-05-18 Thread David Merrill
Hi, I'm working on my very first perl application, which is a front end to a database for the LDP. I am trying to truncate a string, using: $title =~ s/\s*$//; where $title = "The Linux Programmer's Guide " and it is being truncated after the ' mark. All I want to do is remove the trai