John Siracusa: # On 4/3/02 3:44 AM, Damian Conway wrote: # > Larry indicated to me that blockless declarations of # methods and subs # > would be illegal. # # What's the motivation for this? It seems to me that # pre-declarations would # be just as nice (or nicer) as: # # module Alpha; # package Beta; # method Gamma::delta(Gamma $self: $d1, $d2); # sub epsilon; # # rather than with yaddablocks: # # module Alpha {...} # package Beta {...} # method Gamma::delta(Gamma $self: $d1, $d2) {...} # sub epsilon() {...}
I assume it's to support the Perl 5 blockless style. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include