Help for this page

Select Code to Download


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