From: Jarkko Hietaniemi Date: Sun, 18 Nov 2001 21:38:50 +0000 (+0000) Subject: FAQ sync. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f7686833794ab18a8c8729b0e836f6f14223ce97;p=p5sagit%2Fp5-mst-13.2.git FAQ sync. p4raw-id: //depot/perl@13084 --- diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 0196407..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? @@ -1852,7 +1849,7 @@ in L. =head2 How can I use a reference as a hash key? -You can't do this directly, but you could use the standard Tie::RefHash +You can't do this directly, but you could use the standard Tie::Refhash module distributed with Perl. =head1 Data: Misc