Course of Raku / Essentials / Scalar variables / Exercises

Correct the identifiers

Problem

Make the necessary corrections in the following program to make all variable names valid.

my $ A G E = 30;
my Name = 'Valdis';
my $'Middle'Name = 'C.';
my $2address = 'Second street, 12';
my $from--to = 'London to Paris';

Solution

See the solution

Course navigation

Comments / Embedded comments   |   Strings

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська