in reply to Currency symbols in variable names
Hi, not all characters may be used in variable names, even under UTF-8. See perldata.
Try this:
#!/usr/bin/perl use strict; use warnings; use diagnostics; use utf8; use feature qw/say/; binmode STDOUT, ":utf8"; my $ιlan; say '------------------------';
Hope this helps!
The way forward always starts with a minimal test.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Currency symbols in variable names
by pme (Monsignor) on Aug 25, 2019 at 11:39 UTC | |
by 1nickt (Canon) on Aug 25, 2019 at 14:33 UTC | |
by pme (Monsignor) on Aug 25, 2019 at 15:49 UTC |
In Section
Seekers of Perl Wisdom