[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Read Speed



According to Chris Nandor:
> 
> Third, chop/chomp returns 1 if successful, 0 if not; it does not return the
> string.  So if you did C<print OUT chomp($_);>, you would get 1 or 0, not
> the line.

Ummmmm...... I don't know about CHOMP, but I remember
reading that CHOP returns the character it chops off.  Not
1 or 0.  I would believe that CHOMP would return a 0 or 1
because the chopped off character either is or isn't a
control character.  :-)

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch