in reply to Re: GUI challenge: clickable hexagonal tiled grid
in thread GUI challenge: clickable hexagonal tiled grid

Looks nice, but how do I produce the grid? Can you put this on a http server so we can see how it works?

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^2: GUI challenge: clickable hexagonal tiled grid

Replies are listed 'Best First'.
Re^3: GUI challenge: clickable hexagonal tiled grid
by tobyink (Canon) on May 05, 2012 at 17:41 UTC

    It's a PSGI application, so it can be run via a few lines of Apache (mod_perl) configuration, or a three line CGI wrapper script, or save it as "app.psgi" and run plackup app.psgi.

    I've gone the mod_perl route here: http://buzzword.org.uk/2012/hextiles/

    PS I'll point out that I stole the idea (though not the exact technique) from Tantek Çelik. His is better.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'