From: anamma06@... Date: 2017-11-13T14:14:52+00:00 Subject: [ruby-core:83753] [Ruby trunk Feature#14043] Introduce Process.last_status as an alias for $? 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: