diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 16:38:10 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 16:38:10 +0000 |
commit | 67d143eceea774b64914343793da246aa41f6fb5 (patch) | |
tree | 94c81a77d7647cba299f3edead1c680ea267b3dd /pod/perlfaq4.pod | |
parent | 8ce7ecff7e56f79cc9d308fc7231ea214fdc2161 (diff) | |
download | perl-67d143eceea774b64914343793da246aa41f6fb5.tar.gz |
FAQ sync.
p4raw-id: //depot/perl@13205
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r-- | pod/perlfaq4.pod | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index f9f722bf02..f602d24b27 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<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"); @@ -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? |