Hello Darkwing,
Yes, B::Deparse shows that they are indeed inlined:
17:21 >perl -MO=Deparse -e "use constant { C => 42, D => 0 }; print C; + print 'Debug' if D;" use constant ({'C', 42, 'D', 0}); print 42; '???'; -e syntax OK 17:28 >
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Are "use constant" constants really inlined?
by Athanasius
in thread Are "use constant" constants really inlined?
by Darkwing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |