> -----Original Message----- > From: Austin Frank [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 10:58 AM > To: Luke Palmer > Cc: perl6language, > Subject: Re: Problem with dwimmery > Do we still have a yada yada yada? Could it be used to differentiate > between the two cases? > > while $x-- && some_conditions( $x ) {...} > > but > > my $hashref = {}; > > Thanks,
These do two different things. {...} indicates that foo is just being declared and the program should die if the code is ever executed. {} is an empty subroutine that executes by doing absolutely nothing. Joe Gottman