Skip to content

Commit 419a8f8

Browse files
committed
Starts with data structures refs #114
1 parent e58ebb4 commit 419a8f8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/Language/structures.pod6

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@
66
77
=head1 Scalar structures
88
9-
TBD
10-
=head1 Structures with an internal structure
9+
Some classes do not have any I<internal> structure, and to access parts of them specific methods have to be used. Numbers, strings, and some other monolithic classes are included in that class. They use the C<$> sigil, although complex data structures can also use it.
10+
11+
my $just-a-number = 7;
12+
my $just-a-string = "8";
13+
14+
There is a L<Scalar> class, which is used internally to assign a default value to variables declared with the C<$> sigil.
15+
16+
17+
=head1 Complex data structures
1118
1219
TBD
1320

0 commit comments

Comments
 (0)