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
- Need better chop examples. Michael G Schwern
- Re: Need better chop examples. Benjamin Holzman
- Re: Need better chop examples. Michael G Schwern
- Re: Need better chop examples. Benjamin Holzman
- Re: Need better chop examples. abigail
- Re: Need better chop examples. Karsten Sperling
- Re: Need better chop examples. Sam Tregar
- Re: Need better chop examples. Simon Cozens
- Re: Need better chop examples. nick
- Re: Need better chop examples. abigail
- Re: Need better chop examples. Benjamin Franz
