summaryrefslogtreecommitdiff
path: root/pod/perlthrtut.pod
diff options
context:
space:
mode:
authorAlex Davies <alex.davies@talktalk.net>2009-02-20 09:39:29 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-02-20 09:41:42 +0100
commit9732edbb486f42c348817d585e1a7e8533f152fe (patch)
treea5acea56c463119d4e13c85bbc03d138bff66f6a /pod/perlthrtut.pod
parent70b6a84e977a6211834eeab18dfebf4d45bd1688 (diff)
downloadperl-9732edbb486f42c348817d585e1a7e8533f152fe.tar.gz
Wonky example in perlthrtut
Fix at least the syntax of the example. See : Message-ID: <F00A81D78228413FBED223C3919BE75B@Amelie>
Diffstat (limited to 'pod/perlthrtut.pod')
-rw-r--r--pod/perlthrtut.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlthrtut.pod b/pod/perlthrtut.pod
index e1acf6d190..822cac41b6 100644
--- a/pod/perlthrtut.pod
+++ b/pod/perlthrtut.pod
@@ -859,7 +859,7 @@ things we've covered. This program finds prime numbers using threads.
13 }
14 $stream->enqueue(undef);
15
- 16 threads->create(\&check_num, $stream, 2);
+ 16 my $kid = threads->create(\&check_num, $stream, 2);
17 $kid->join();
18
19 sub check_num {