Say we allow instantly tied lazy subroutine definitions like so: @naturals = (? { my $x=1; yield $x++ while 1 }) Is the code block in there a subroutine or a method? And why? How about using the eminently deprecatable "reset" operator to start a tied lazy array back at it's "original" state (as long as the array's name is more than one letter, of course, for backwards compat.) -- David Nicol 816.235.1187 [EMAIL PROTECTED] Undefined use of void in constant context
- subroutines ==? methods David L. Nicol
- Re: subroutines ==? methods David L. Nicol
- Re: subroutines ==? methods Damian Conway