It's more of a binary representation of a normal clock, seeing as you use a nybble per digit. Here's a cleaned up version (did you mean to post to obfuscated code instead?), I replaced the space in the output with a . because the eye was drawn to it too much.
use strict;use warnings;$|=1; (@ARGV eq 4) ? ( ($",$~,$:,$.) = @ARGV,$^=$_='0000') : ($"=$_=$^=$.=$: +='0000',$~='0001'); { select undef,undef,undef,1;0 || s:0000:0001: || s:0001:0010: || s:0010:0011: || s:0011:0100: || s:0100:0101: || s:0101:0110: || s:0110:0111: || s:0111:1000: || s:1000:1001: || s:1001:0000: &&$^=~s:0000:0001: ||$^=~s:0001:0010: ||$^=~s:0010:0011: ||$^=~s:0011:0100: ||$^=~s:0100:0101: ||$^=~s:0101:0000: &&$.=~s:0000:0001: ||$.=~s:0001:0010: ||$.=~s:0010:0011: ||$.=~s:0011:0100: ||$.=~s:0100:0101: ||$.=~s:0101:0110: ||$.=~s:0110:0111: ||$.=~s:0111:1000: ||$.=~s:1000:1001: ||$.=~s:1001:0000: &&$:=~s:0000:0001: ||$:=~s:0001:0010: ||$:=~s:0010:0011: ||$:=~s:0011:0100: ||$:=~s:0100:0101: ||$:=~s:0101:0000: &&( $~=~s:0000:0001: ||$~=~s:0001:0010: ||( $~=~s:0010:0011: ? $"=='0001' &&( $~=$" , $" ='0000' ):$~=~s:0011:0100: or$~=~s:0100:0101: or$~=~s:0101:0110: or$~=~s:0110:0111: or$~=~s:0111:1000: or$~=~s:1000:1001: )) ||$~=~s:1001:0000: &&$"=~s:0000:0001: ||$"=~s:0001:0000:; print "\r", $",'.',$~,':',$:,'.',$.,':',$^,'.',$_; redo }
Replace line 2 with this block to use the current time
@_=localtime; $~=$_[2]%12%10;$"=$_[2]%10>9; $.=$_[1]%10;$:=$_[1]-$.;$:/=10; $_=$_[0]%10;$^=$_[0]-$_;$^/=10; foreach $,($~,$",$.,$:,$_,$^){$, = sprintf"%04b",$,;}

--
I'm not belgian but I play one on TV. On dit que je parle comme un belge aussi.


In reply to Re: Binary Clock Implemented Through String Matching by belg4mit
in thread Binary Clock Implemented Through String Matching by ktross

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.