Issue #14043 has been updated by ana06 (Ana Maria Martinez Gomez).


I completely agree with @mrkn. How is it possible that a programming language which is described as focussed on simplicity with an elegant syntax that is natural to read and easy to write have this unreadable Perl operators? I am sorry, but there are not readable, neither elegant. And I am pretty sure event Perl developers/people used to the sintax has to check the documentation sometimes to know what that means.

Let's remove them and use the alias in English.rb instead!

----------------------------------------
Feature #14043: Introduce Process.last_status as an alias for $?
https://bugs.ruby-lang.org/issues/14043#change-67791

* Author: mrkn (Kenta Murata)
* Status: Open
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 2.5
----------------------------------------
I found that we don't have any methods for an alias to `$?`, like `MatchData.last_match` for `$~`.

I propose to introduce `Process.last_status` method for that purpose.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>