diff options
author | Dan Book <grinnz@gmail.com> | 2015-12-13 19:51:57 -0500 |
---|---|---|
committer | Dan Book <grinnz@gmail.com> | 2015-12-13 19:51:57 -0500 |
commit | 16d879d712878e2d1aa262dc1218b6543aec99c9 (patch) | |
tree | 187bd1b783618ce1b9cc76427ee7b8d1fd28f17d /perl.html.markdown | |
parent | 88af462c699b9f48310a9624bb6bbe94b7101af1 (diff) |
add missing use line
Diffstat (limited to 'perl.html.markdown')
-rw-r--r-- | perl.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.html.markdown b/perl.html.markdown index d919e00e..61e8cd0e 100644 --- a/perl.html.markdown +++ b/perl.html.markdown @@ -262,6 +262,7 @@ sub increment { # Methods can be called on a class or object instance with the arrow operator. +use MyCounter; my $counter = MyCounter->new; print $counter->count, "\n"; # 0 $counter->increment; |