1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 10:14:58 +02:00

add missing use line

This commit is contained in:
Dan Book
2015-12-13 19:51:57 -05:00
parent 88af462c69
commit 16d879d712

View File

@@ -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;