My, our, thems-over-theres.....

2001-08-14 Thread Bryan C . Warnock
Three variable scope declarators, three different behaviors (as recent as 5.7.2) (Set One) $a = 'a'; { my $a .= 'b', $a .= 'c' if $a .= 'd', $a .= 'e'; } print $a, "\n"; # adec $b = 'a'; { local $b .= 'b', $b .= 'c' if $b .= 'd', $b .= 'e'; } print $b, "\n";# ade $

Temp properties

2001-08-14 Thread John Siracusa
(I figured it'd take me longer to track this information down myself than it would to get a response from the list. Laziness... :) Can properties be temp()orarily masked? For example: foreach my $array (@arrays) { temp $array.sep = ', '; # assuming this is a real property p

Will subroutine signatures apply to methods in Perl6

2001-08-14 Thread Garrett Goebel
Any word from on high whether subroutine signatures will apply to methods in Perl6? There's RFC128 and RFC97... but they both mostly dodge the issue of methods. The absense of method signatures for specifying required, optional, and named parameters... not to mention type-checking for validation