History variables: Difference between revisions
→{{header|Perl 6}}: Fix broken example. Can't have a .STORE method on a scaler sigiled variable right now.
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Mark as broken) |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Fix broken example. Can't have a .STORE method on a scaler sigiled variable right now.) |
||
Line 1,494:
$x is: a</lang>
=={{header|Perl 6}}==
<lang perl6>class HistoryVar {
has @.history;
Line 1,504 ⟶ 1,503:
}
my
.say for
say "Current value:
{{out}}
<pre>[Instant:
[Instant:
[Instant:
[Instant:
Current value: 42
</pre>
=={{header|PicoLisp}}==
|