diff options
author | Tim Jenness <tjenness@cpan.org> | 2001-11-19 05:31:36 -1000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-20 00:55:25 +0000 |
commit | f1808fd1210b0108554ea2a91877cc75afeee658 (patch) | |
tree | dab275769c1e1e8d40187220f0d71df8d9f7ce97 /pod/perlfaq4.pod | |
parent | 0a6c758de4286f25ba3c72dc1f4b80773e160768 (diff) | |
download | perl-f1808fd1210b0108554ea2a91877cc75afeee658.tar.gz |
[DOC PATCH] perlfaq4.pod
Message-ID: <Pine.LNX.4.33.0111191530180.5914-100000@lapaki>
p4raw-id: //depot/perl@13113
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r-- | pod/perlfaq4.pod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index f602d24b27..f9f722bf02 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -136,13 +136,15 @@ 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<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"); @@ -247,6 +249,7 @@ 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? |