in reply to Re: Bless and Do
in thread Bless and Do
An interesting thing to note: Data::Dumper uses a form very similar to OP with blessed references.
perl -MData::Dumper -e 'print Dumper bless \((49)[0]), "Rat::Notificat +ion";' $VAR1 = bless( do{\(my $o = 49)}, 'Rat::Notification' );
|
---|
In Section
Seekers of Perl Wisdom