On Sat, Apr 12, 2008 at 02:10:48AM -0400, Ryan Richter wrote:
: On Sat, Apr 12, 2008 at 05:06:53AM -0000, John M. Dlugosz wrote:
: > What is the difference between:
: > 
: >  sub head(*$head, [EMAIL PROTECTED])
: > 
: > and
: > 
: >  sub head($head?, [EMAIL PROTECTED])
: > 
: 
: If you call head(@foo), in the first $head gets @foo[0] and in the
: second it gets nothing (you didn't pass a scalar).

Nope, second one gets @foo as a scalar, and nothing in the list.

Larry

Reply via email to