catfish1116 has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to figure out the chr() function, and have written a few lines of code:
#!/usr/bin/perl use v5.12; use warnings; $alpha = chr(65); say "This is what Alpha looks like $alpha". "\n";
And I'm getting this error
Global symbol "$alpha" requires explicit package name at ./Page_34 li +ne 5. Global symbol "$alpha" requires explicit package name at ./Page_34 lin +e 6.
What package is it looking for? TIA catfish
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: chr() function
by LanX (Saint) on Nov 13, 2018 at 21:53 UTC | |
by catfish1116 (Beadle) on Nov 13, 2018 at 21:58 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |