Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Tetris on the console

by andreas1234567 (Vicar)
on Feb 11, 2011 at 11:01 UTC ( #887593=note: print w/replies, xml ) Need Help??


in reply to Tetris on the console

Nice. I would recommend to add dependencies to the Makefile.PL:
diff --git a/Makefile.PL b/Makefile.PL index d1c98b6..2efb32a 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,7 +11,15 @@ WriteMakefile( ? ( 'LICENSE' => 'perl' ) : () ), PL_FILES => {}, - PREREQ_PM => { 'Test::More' => 0, }, + PREREQ_PM => { + 'Moose' => 0, + 'Moose::Util::TypeConstraints' => 0, + 'Test::More' => 0, + 'Term::ReadKey' => 0, + 'Time::HiRes' => 0, + 'Term::Screen::Uni' => 0, + 'Thread::Semaphore' => 0, + }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'Games-Tetris-Complete-*' }, );
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://887593]
help
Chatterbox?
[Lady_Aleena]: Hello everyone. I'm having a blonde moment. I can push an array to an array, right? push @to_array, @another_array;
[shmem]: of course
[shmem]: the members of @another_array are conflated to @array
[shmem]: try it out:
[Lady_Aleena]: shmem, thanks. I'm am way out of practice.
[shmem]: perl -lE '@foo = (0..3);@bar = (4..7); push @foo,@bar; say for @foo'

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-04-27 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (503 votes). Check out past polls.