#!/usr/bin/perl -w use strict; use Tk; my$mw=MainWindow->new;$mw->geometry(#>$(#@) "700x700");my$c1=$mw->Canvas(-background=>#)(*#$ 'black',-height=>700,-width=>700)->pack;my#K(\x23$_ $ax="F_+_F_+_F_+_F";my$rr="F_-_F_+_F_+_F_-_F";#)(*@#(klskld(@#*#() my($phi,$x1,$y1,$x2,$y2,$ll)=(0,185,500,185,500,4);for(my$i=#%z 1;$i<5;$i++){$ax=~s/F/$rr/g;}$ax=~s/\s//g;my@arx=split(/_/,#@++--1 $ax);for(@arx){if($_ eq#$_1f#(!)#Skwio)*# "+"){$phi += 90;if($phi>=360){$phi=$phi-360###@()(*) ;}}elsif($_ eq"-"){$phi-=90;if($phi##map{} <0){$phi=360+$phi;}}if ($_ eq"F"){$x1=$x2;$y1=$y2;if($phi#$#<2*#$ ==0){$x2+=$ll;}elsif($phi==90){$y2 -= $ll;}elsif(#$^%&* $phi==180){$x2-=$ll;}elsif($phi==270){$y2+=$ll;}ml($x1,$y1,#__--0(*()) $x2,$y2);$mw->update;}}$c1->createText(350,350, -text=>"\x50\x20\x45\x20\x52\x20\x4C\x20\x20 \x20\x20\x4D\x20\x4F\x20\x4E\x20\x4B\x20\x53",#*#(()) -fill=>'white',-width=>300);MainLoop;sub#->\x25 ml{$c1->createLine($_[0],$_[1],$_[2],$_[3],-fill=>'white');}

In reply to Order Out Of Chaos by Lysander

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.