From: Renald Buter Date: 2001-08-09T18:35:12+09:00 Subject: [ruby-talk:19413] Setting $_ for the current scope Hello, Does Ruby have an syntactical sweetness to set $_ for a specific (aka current) scope? In Perl I would do for ($foo) { /argh/ and cry(); /help/ and help(); } Of course I could always assign to $_, but would this assignment be local to the current scope? Regards, Renald