simple question on perl

Ben Pfaff pfaffben@msu.edu
01 Sep 2000 17:14:33 -0400


"Daniel R . Kilbourne" <drk@voyager.net> writes:

> doesnt work...al that does is remove the last character....
> 
> On Fri, Sep 01, 2000 at 02:58:12PM -0400, Dpk spake:
> 
> > On Fri, Sep 01, 2000 at 02:54:46PM -0400, Daniel R . Kilbourne wrote:
> > 
> >    Call me a perl idiot, but how do I remove the last character from a string?
> > 
> > chop($variable);

That's what you asked for.  What did you really mean?
-- 
"Premature optimization is the root of all evil."
--D. E. Knuth, "Structured Programming with go to Statements"