Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    printf "First: %X; third: %X\n",
      ord("\N{first character}"),
      ord("\N{third character}");
    
  2. or download this
    Unknown charname 'first character' at ./mytest line 10, within string
    Execution of ./mytest aborted due to compilation errors.
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    };
    
    use charnames ":alias" => $characters;