Message-ID: <Pine.LNX.4.33.
0111191530180.5914-100000@lapaki>
p4raw-id: //depot/perl@13113
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?