Re: Chomp method



""Mr" == "Mr Shawn H Corey" <shawnhcorey@xxxxxxxx> writes:

"Mr> On Wed, 2006-26-04 at 23:07 -0700, Jaime Murillo wrote:
The good way to learn how a function works is to use the perldoc utility.

"Mr> A good way to learn how a function works is to write a small program to
"Mr> test it. There is nothing like hands-on experience.

Unless your experience doesn't stumble across the corner cases. Nothing
can replace reading a good specification.

For example, almost no amount of experimentation will stumble across
how chomp actually removes $/, not just "\n".

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
.