Front page | perl.perl5.porters |
Postings from November 1999
patch for perlfaq4
Thread Next
From:
Jeff Pinyan
Date:
November 29, 1999 17:38
Subject:
patch for perlfaq4
Message ID:
Pine.GSO.4.10.9911292034520.6630-100000@crusoe.crusoe.net
This patch is required, because
defined &func
now returns whether the function 'func' exists, not whether its return
value is undef or not.
--- perlfaq4.pod Mon Nov 29 20:36:04 1999
+++ new-perlfaq4.pod Mon Nov 29 20:36:26 1999
@@ -1306,7 +1306,7 @@
}
}
- 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
--
MIDN 4/C PINYAN, USNR, NROTCURPI http://www.pobox.com/~japhy/
jeff pinyan: japhy@pobox.com perl stuff: japhy+perl@pobox.com
"The Art of Perl" http://www.pobox.com/~japhy/book/
CPAN ID: PINYAN http://www.perl.com/CPAN/authors/id/P/PI/PINYAN/
PerlMonth - An Online Perl Magazine http://www.perlmonth.com/
Thread Next
-
patch for perlfaq4
by Jeff Pinyan