From: Matthew Kerwin Date: 2013-04-24T11:21:55+09:00 Subject: Re: what is the $- magic global? Also: I'm aware of bash's $- options description, but that doesn't seem relevant in this case; bash's $- is a simple string, and doesn't have any magic attached. I know that perl and ruby both have a similarly-defined $+ magic variable. Perl also has a $- ("The number of lines left on the page of the currently selected output channel.") but I doubt there's a correlation with ruby's, because perl's is a simple integer, and is related to $~ and $= which are completely different between the two languages. I've also encountered perl's @-/@+ match offsets, but can't see how they'd be relevant. Completely flummoxed. -- Posted via http://www.ruby-forum.com/.