=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
=item *
-What is undump?
-
-=item *
-
How can I make my Perl program run faster?
=item *
=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
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
optimized for speed on some operations, and for at least some
programmers the notation might be familiar.
-=over 4
-
=item B<How do I convert Hexadecimal into decimal:>
Using perl's built in conversion of 0x notation:
$int = 0xDEADBEEF;
$dec = sprintf("%d", $int);
-
+
Using the hex function:
$int = hex("DEADBEEF");
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?