Singleton: Difference between revisions
→{{header|Perl 6}}: fix markup
mNo edit summary |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: fix markup) |
||
Line 1,640:
=={{header|Perl 6}}==
<lang
# We create a lexical variable in the class block that holds our single instance.
my Singleton $instance = Singleton.bless; # You can add initialization arguments here.
|