By default, perl assumes that your source code is in LATIN-1
By default, perl assumes that your source code is in ASCII. (Though string literals are 8-bit clean.)
$ printf 'use utf8; sub bête { } say "ok";' | perl -M5.010 ok $ printf 'sub bête { } say "ok";' | iconv -t iso-8859-1 | perl -M5.010 Illegal declaration of subroutine main::b at - line 1.
Seeking work! You can reach me at ikegami@adaelis.com
In reply to Re^5: replacement for deprecated encoding pragma
by ikegami
in thread replacement for deprecated encoding pragma
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |