bobo999 has asked for the wisdom of the Perl Monks concerning the following question:
perl -E 'printf "%s\n", chr 65'
This line prints the character 'A'. The following line also prints the character 'A'perl -E 'printf "%s\n", v65'
It appears that v<number> is some kind of internal equivalent to chr(number) call, however, I can't find any search results in any of my perl books and Google searches. Can anyone shed some light on this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Undocumented Perl Functionality
by haukex (Archbishop) on Mar 15, 2021 at 18:22 UTC | |
by bobo999 (Initiate) on Mar 16, 2021 at 16:46 UTC | |
by haukex (Archbishop) on Mar 16, 2021 at 17:20 UTC | |
by talexb (Chancellor) on Mar 16, 2021 at 19:09 UTC |