summaryrefslogtreecommitdiffhomepage
path: root/self.html.markdown
diff options
context:
space:
mode:
authorLeo Bärring <leo.barring@gmail.com>2015-12-26 20:15:51 +0100
committerLeo Bärring <leo.barring@gmail.com>2015-12-26 20:15:51 +0100
commit5556d6e839796e06179afec99443bf0a63a23afa (patch)
treebd45ab2219f12ce93df223911b30c30a09c886f9 /self.html.markdown
parentb2133b532b0e8bc0ae6e704633b56743eaa9b339 (diff)
changed code output to as stated in comments
The comments state that Foo::Bar::inc in the package variable example should increase $Foo::Bar::n and then print it. This did not happen, as `say ++$n;` was placed outside the block of the sub Foo::Bar::inc. The commit puts `say ++$n;` inside the block of Foo::Bar::inc.
Diffstat (limited to 'self.html.markdown')
0 files changed, 0 insertions, 0 deletions