Project

General

Profile

Actions

Feature #5011

closed

Add Perl 6-like main method definition support: accept command-line arguments as method arguments

Added by rosenfeld (Rodrigo Rosenfeld Rosas) over 13 years ago. Updated over 12 years ago.

Status:
Rejected
Target version:
-
[ruby-core:37937]

Description

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


Files

feature-5011.odp (19.1 KB) feature-5011.odp Add presentation slide for feature rosenfeld (Rodrigo Rosenfeld Rosas), 06/08/2012 03:09 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0