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 reply to Re^2: Currency symbols in variable names
by pme
in thread Currency symbols in variable names
by pme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |