Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse,-p -e 'map chr hex, @code_points'
    map(chr(hex($_)), @code_points);
    
  2. or download this
    $ perl -wMstrict -le 'sub foo {} foo "bar"'    # ok
    $ perl -wMstrict -le 'sub foo {} foo("bar")'   # ok
    ...
        (Do you need to predeclare foo?)
    syntax error at -e line 1, near "foo "bar""
    Execution of -e aborted due to compilation errors.