http://qs1969.pair.com?node_id=1150352


in reply to Re^7: Declaring with my, assigning, and testing in same line (attributes)
in thread Declaring with my, assigning, and testing in same line

> are much slower

Did you expect otherwise? :)

That's normally the prize for syntactic sugar...

I wouldn't be surprised if Attribute::Handlers is to be blamed for a big part of the delay.

Using attributes directly might speed up things, but it will still be considerably slower.

But when used in the context of debugging or similar speed wouldn't matter that much.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!