note
toolic
<p>Tip #1 from the [Basic debugging checklist]: use [doc://diagnostics]:
<c>
(F) You've said "use strict" or "use strict vars", which indicates
that all variables must either be lexically scoped (using "my" or "state"),
declared beforehand using "our", or explicitly qualified to say
which package the global variable is in (using "::").
</c>
<p>Declare all variables with [doc://my]:
<c>
use strict;
use warnings;
my $char = chr(0x394);
my $code = ord($char);
printf "char %s is code %d, %#04x\n", $char, $code, $code;
</c>
<p>See also: [doc://perlintro]
<p>UPDATE: Geez, this problem was solved for you [id://1039102|a month ago] :(
1045698
1045698