summaryrefslogtreecommitdiff
path: root/pod/perlfaq4.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-03 07:56:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-03 07:56:04 +0000
commit072dc14b1a4177db68f19d2de42f2c1f889c4048 (patch)
tree0b42f9294f03c4b6b5ebcb6cdf90546a15680d0a /pod/perlfaq4.pod
parent3e0057efe0ecfa8a2ce5cf80276af07d2b2bc856 (diff)
downloadperl-072dc14b1a4177db68f19d2de42f2c1f889c4048.tar.gz
perlfaq4 typo (from Jeff Pinyan <jeffp@crusoe.net>)
p4raw-id: //depot/perl@4635
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r--pod/perlfaq4.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index 63e093fe0e..838f753fa6 100644
--- a/pod/perlfaq4.pod
+++ b/pod/perlfaq4.pod
@@ -1746,7 +1746,7 @@ if you just want to say, ``Is this a float?''
}
}
- sub is_numeric { defined &getnum }
+ sub is_numeric { defined getnum($_[0]) }
Or you could check out
http://www.perl.com/CPAN/modules/by-module/String/String-Scanf-1.1.tar.gz