Issue #5011 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas). Great, I'll love to see when the right direction appear ;) ---------------------------------------- Feature #5011: Add Perl 6-like main method definition support: accept command-line arguments as method arguments https://bugs.ruby-lang.org/issues/5011#change-28340 Author: rosenfeld (Rodrigo Rosenfeld Rosas) Status: Rejected Priority: Low Assignee: matz (Yukihiro Matsumoto) Category: Target version: Take a look at this: http://perlgeek.de/en/article/5-to-6#post_14 I'm not really sure how this would look like in Ruby, but I like the idea of defining a main method could extract their params from command-line params. This would also be an alternative for issue #4824: http://redmine.ruby-lang.org/projects/ruby-19/issues/4824 -- http://bugs.ruby-lang.org/