[EMAIL PROTECTED]: # I was wondering how perl6 would stringify (as in Data::Dumper):
As Dan said, that's serialization. I don't know if Perl will support that built-in. But if it does... # 1) objects with 'my' and 'our' variables Those would have to be dumped from the pads or stashes. I don't think there's any way around that. # 2) $.property Using their accessors? # 2) subroutines (and coderefs) See my comment below. # 3) properties (both is/has) 'is' properties are part of the code, so I don't think they need serialization. 'has' (or whatever it'll be called) properties can be applied easily--remember, a 'has' returns its left operand. # Right now, the fact that subroutines come out as 'sub { # "DUMMY" }' is a minor pain to work around, having all of # these as holes would be too much IMO. That's fixed in 5.8--it uses B::Deparse to make a rough version of the sub. Just hope it isn't a closure. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification