On Sun, Apr 27, 2003 at 07:32:27PM +0900, dblack / superlink.net wrote:
> Hi --
> 
> On Sun, 27 Apr 2003, Mauricio [iso-8859-1] FernŠŌdez wrote:
> 
> > What's the output of the following script?
> > Points awarded only if you don't run it ;)
> 
> I get no points :-)  I ran the code, and got no output, but then I ran
> the second version and it was fine.
> 
> I didn't see any surprises in the output.  I'm not sure what problem
> or misfeature you're pointing to.  (Maybe the Windows compatibility
> question?)

The possible misfeature is allowing spaces as delimiters.
Can we expect anybody to tell the difference between
a = % 	 
and
a = %	 	

???

IMHO in the original posting
def expand(*args)
 % args 
end

should complain about the infix operator being used improperly or
something similar, instead of parsing "under the hood" as %{args}.

-- 
 _           _                             
| |__   __ _| |_ ___ _ __ ___   __ _ _ __  
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
	Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

C is quirky, flawed, and an enormous success
	-- Dennis M. Ritchie