From: Jarkko Hietaniemi Date: Fri, 23 Nov 2001 16:38:10 +0000 (+0000) Subject: FAQ sync. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=67d143eceea774b64914343793da246aa41f6fb5;p=p5sagit%2Fp5-mst-13.2.git FAQ sync. p4raw-id: //depot/perl@13205 --- diff --git a/pod/perlfaq.pod b/pod/perlfaq.pod index 4c65915..e0649fb 100644 --- a/pod/perlfaq.pod +++ b/pod/perlfaq.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq - frequently asked questions about Perl ($Date: 2001/10/16 13:27:22 $) +perlfaq - frequently asked questions about Perl ($Date: 2001/11/19 17:09:37 $) =head1 DESCRIPTION @@ -226,10 +226,6 @@ How can I generate simple menus without using CGI or Tk? =item * -What is undump? - -=item * - How can I make my Perl program run faster? =item * diff --git a/pod/perlfaq3.pod b/pod/perlfaq3.pod index 8bd3d45..7e0c193 100644 --- a/pod/perlfaq3.pod +++ b/pod/perlfaq3.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq3 - Programming Tools ($Revision: 1.9 $, $Date: 2001/11/09 08:06:04 $) +perlfaq3 - Programming Tools ($Revision: 1.10 $, $Date: 2001/11/19 17:09:37 $) =head1 DESCRIPTION @@ -432,10 +432,6 @@ http://www-users.cs.umn.edu/%7Eamundson/perl/perltk/toc.html . The http://www.cpan.org/authors/id/SKUNZ/perlmenu.v4.0.tar.gz module, which is curses-based, can help with this. -=head2 What is undump? - -See the next question on ``How can I make my Perl program run faster?'' - =head2 How can I make my Perl program run faster? The best way to do this is to come up with a better algorithm. This diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index f9f722b..f602d24 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -136,15 +136,13 @@ functions is that it works with numbers of ANY size, that it is optimized for speed on some operations, and for at least some programmers the notation might be familiar. -=over 4 - =item B Using perl's built in conversion of 0x notation: $int = 0xDEADBEEF; $dec = sprintf("%d", $int); - + Using the hex function: $int = hex("DEADBEEF"); @@ -249,7 +247,6 @@ Using Bit::Vector: The remaining transformations (e.g. hex -> oct, bin -> hex, etc.) are left as an exercise to the inclined reader. -=back =head2 Why doesn't & work the way I want it to?