Re: Please advise before I submit to CPAN

2010-09-09 Thread David Nicol
one surprising aspect of perl is that Cbless affects the object, not the reference, so it is possible to rebless things, which is handy if you use package-based state machines D:\perl -le bless $o=[],'abc';print $o; sub f{$l=shift; bless $l,'DEF'} f $o; print $o abc=ARRAY(0x3e5444)

Re: Please advise before I submit to CPAN

2010-09-09 Thread Shawn H Corey
On 10-09-09 02:43 PM, David Nicol wrote: So whenever anyone says a Perl object is a blessed reference they're speaking procedurally, not descriptively. Descriptively, a Perl object is a reference to a blessed thingy. (I think that's correct terminology, please correct if wrong) Yes, Perl is