Here is a beer box... I couldn't be creative enough to make it into a more interesting shape. Someone else is welcome to do so though. :)

This prints out the 99 bottles of beer thing, and it is pretty complicated... :)

Runs under use strict and use warnings. Enjoy!

#!/usr/bin/perl $a=100;while(--$a>1){p($a,pack('c*',0x62,0x6F,0x74,0x74,0x6C,0x65,0x73 +), w(0x18B),w(0x9717),w(0x193),w(0x35A4),w(0x62EFF),chr(0x2C));sub l{prin +t( pack("c",0xA))};p($a,pack('c*',0x62,0x6F,0x74,0x74,0x6C,0x65,0x73),w(# +## 0x18B),w(0x9717),chr(0x2C));p(ucfirst(w(0x560E6)),w(0x290C),w(0x13C9F) +.# chr(0x2C),w(0x44F24),w(0xFD),join('',w(0x486),w(0x38E3)),chr(0x2C));su +b# p{print(join(pack("c",0x20),@_[0..($#_-1)]).$_[-1].pack("c",0xA))};p($ +a- 1,($a-1)==1?chr(0x62).chr(0x6F).chr(0x74).chr(0x74).chr(0x6C).chr(0x65 +): pack('c*',0x62,0x6F,0x74,0x74,0x6C,0x65,0x73),w(0x18B),w(0x9717),w(0x1 +93 ),w(0x35A4),w(0x62EFF),chr(0x2E));&l;}{my%q;sub w{($q{$_[0]})&&(return +## $q{$_[0]});my$b=$_[0];$_=chr(97);while($b-->0){$_++;}return$q{$_[0]}=$ +_; }}p(1,chr(0x62).chr(0x6F).chr(0x74).chr(0x74).chr(0x6C).chr(0x65),w(## +## 0x18B),w(0x9717),w(0x193),w(0x35A4),w(0x62EFF),chr(0x2C));p(1,chr(0x62 +). chr(0x6F).chr(0x74).chr(0x74).chr(0x6C).chr(0x65),w(0x18B),w(0x9717),c +hr (0x2C));p(ucfirst(w(0x560E6)),w(0x290C),w(0x13C9F).chr(0x2C),w(0x44F24 +), w(0xFD),join('',w(0x486),w(0x38E3)),chr(0x2C));p(ucfirst(w(0x17A)),w(# +## 0x3A5FC),pack('c*',0x62,0x6F,0x74,0x74,0x6C,0x65,0x73),w(0x18B),w(#### +## 0x9717),w(0x193),w(0x35A4),w(0x62EFF),chr(0x2E));##################### +##

In reply to Beer Box by Dylan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.