> n.b. chop() removes the last character; chomp() removes the last > character only if it's a record separator (defined in $/). Either one > will return the character chopped. Nah, chomp() returns number of chars dropped. > : I just get tired of looking everything up in my Perl book. You presumably don't mean the Cookbook. I never tire of looking things up in the Cookbook because it nearly always hits the spot, and quickly too.
- Why can't $I = chop $array[1] David Blevins
- Re: Why can't $I = chop $array[1] Paul
- RE: Why can't $I = chop $array[1] David Blevins
- RE: Why can't $I = chop $array[1] Peter Cornelius
- Re: Why can't $I = chop $array[1] Timothy Kimball
- Re: Why can't $I = chop $array[1] Timothy Kimball