Revision history of "Generate 8bit dec to hex to bin chart.pl"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 23:55, 15 August 2023Digimer talk contribs 1,380 bytes +18
  • curprev 23:54, 15 August 2023Digimer talk contribs 1,362 bytes +1,362 Created page with "{{howto_header}} A short script that generates a byte-length chart of decimal to hexadecimal to binary values. <source lang="perl"> #!/usr/bin/perl # Author: Madison Kelly; mkelly@alteeve.com # Date: Jun. 21, 2010 # License: GPLv2 # Be clean use strict; use warnings; # Headers print " Dec. | Hex. | Binary\n"; print "------+-------+-----------\n"; foreach my $dec (0..255) { # Convert the decimal to hexadecimal and pad the result with a lea..."