in reply to Re: Length and Chomp ??
in thread Length and Chomp ??
the length function returns the length (in bytes)
No, it does not. It returns the number of characters found in the argument (or $_ when called without an argument). See length.
Note that length counts every character, including control characters like CR, LF, and TAB, and not just printable characters.
Alexander
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Length and Chomp ??
by biohisham (Priest) on Aug 22, 2009 at 18:53 UTC | |
by afoken (Chancellor) on Aug 23, 2009 at 19:22 UTC |