[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Re: $-<char> variables

From: matz@... (Yukihiro Matsumoto)
Date: 2004-02-27 08:56:10 UTC
List: ruby-core #2515
Hi,

In message "$-<char> variables"
    on 04/02/27, Dave Thomas <dave@pragprog.com> writes:

|What's the official story on the $-<char> variables? You used to be 
|able to have $-<any character>, but nbow it looks like only [a-zA-Z_] 
|are allowed, with the lower case letters defaulting to flase 
|(presumably corresponding to the command line options), and upper case 
|ones defaulting to nil.

$-<char> variable correspond with -<char> option to the interpreter.
If the interpreter has correspond command line option, the variable
has its value, otherwise nil.

							matz.

In This Thread