in reply to Re: Currency symbols in variable names
in thread Currency symbols in variable names
Hi 1nickt,
It seems to be that unicode characters can be in variable names if they are letters and currency symbols are not considered as letters.
my $愛 = 4; # correct
my $s = '★'; # correct
my $★ = 'star'; # incorrect
However, it makes sense. What could we do with this?
Update: This one works ...sub $_to_¥ { ... }
my $元 = 3;
In Section
Seekers of Perl Wisdom