- or download this
# prints '1'
print length("\x{03c5}"), "\n";
- or download this
# prints '2'
use bytes;
print length("\x{03c5}"), "\n";
- or download this
package Foo;
...
}
1;
- or download this
BEGIN {
package Foo;
...
package main;
print Foo::len(), "\n";