Jump to content

Here 's my first Perl program I translated from an old BASIC program, Lunar LEM Rocket It 's ...


G+_Rudy Rodriguez
 Share

Recommended Posts

Here's my first Perl program I translated from an old BASIC program, Lunar LEM Rocket.  It's horrible in that it's spaghetti code (the tragic GOTO statement), lacks comments, and uses single letter variables.  But I got it to "mostly" work.  My next big step is to reprogram it so that all the GOTOs will be eliminated.  My final step would be to optimize it (and possibly animate it).  I also bought an old "Programming Perl, Larry Wall" book which is very entertaining (for a programming book).

https://github.com/GitHub4Rudy/PerlLearning/blob/master/lunar.pl

Link to comment
Share on other sites

 Share

×
×
  • Create New...