Help for this page

Select Code to Download


  1. or download this
         ex. $_table{'Ö'}; # gives 'Ö'
    
  2. or download this
    my $bytes = pack( "C*", unpack( "U0C*", $$sgml_r ));
    
  3. or download this
       use bytes;
        ....         #all will happen wrapped here
       no bytes;
    
  4. or download this
       $bytes =~ s/([^\ -\~]+.*)/$self->_fixup($1)/ego;
    
  5. or download this
        $$sgml_r =~ s/(.)/$self->_mapchar($1)/eg;
    
  6. or download this
    sub _mapchar {
       my ($char) = @_;
    ...
       }
       return $char;
    }