On Sat, 27 Jan 2001, Michael G Schwern wrote:

> Anyhow, I cut out all the naughty bits from perlfunc, but I can't
> think of good chop examples to replace:

How about a bizarre way to do int($foo/10) when you know that $foo
contains an integer in string form?  This might be an optimization since
it avoids the conversion to a number.  Or as a way to remove a single \0
from the end of a string coming from some binary data file?

-sam

Reply via email to