Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        close FH;
        print '[6] actual size is:    ' . ( -s $file ) . "\n";
    }
    
  2. or download this
    joerg@Marvin:~> '/home/joerg/bytes_pragma.pl'
    [1] is_utf8() returns: false
    ...
    [6] is_utf8() returns: true
    [6] length() returns:  2 (use bytes)
    [6] actual size is:    2