1
2
3
4
5
6
7
8
9
$VAR1 = bless( {
'messageId' => '0E9DB868-4CAE-A469-8B26-0000283949DF',
'headers' => {},
'clientId' => '3D5F4FB3-CB85-DA69-1AD7-00005D49B004',
'correlationId' => '7bEpTarpwz9untUD',
'destination' => undef,
'timeToLive' => 0,
'body' => {...}
}, 'flex.messaging.messages.AcknowledgeMessage' );
1 2 3 4 5 6 7
package flex.messaging.messages.AcknowledgeMessage; sub getBody { my ($class) = @_; return $class->{'body'}; };
1 2 3 4 5
{ no strict; *{"foo.bar::new"} = sub { bless {}, "foo.bar" }; } my $o = "foo.bar"->new;