Help for this page

Select Code to Download


  1. or download this
        use utf8;
    
        sub £_to_¥ { ... }
    
        my $yen = £_to_¥('1000£');
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    my $€ = 1;
    say '------------------------';
    
  3. or download this
    Unrecognized character \x{20ac}; marked by <-- HERE after my $<-- HERE
    + near
        column 5 at ./uni2.pl line 10 (#1)
    ...
        
    Uncaught exception from user code:
        Unrecognized character \x{20ac}; marked by <-- HERE after my $<-- 
    +HERE near column 5 at ./uni2.pl line 10.