- or download this
PPCODE:
int i;
f();
- or download this
PREINIT:
int i;
PPCODE:
f();
- or download this
PPCODE:
{
int i;
f();
}
- or download this
say lengths1(substr("abc", 0, 1)); # 0
- or download this
say lengths1("abc"); # 16
- or download this
$_="\x{A0}"; say lengths1($_), "=", length($_); # 1=1
$_="\x{A0}\x{2660}"; chop; say lengths1($_), "=", length($_); # 2=1
- or download this
say lengths1(456), "=", length(456); # 0=3