in reply to Re^2: Macro in perl code?
in thread Macro in perl code?
Constant Functions Functions with a prototype of "()" are potential candidates for inlining. If the result after optimization and constant folding is either a constant or a lexically-scoped scalar which has no other references, then it will be used in place of function calls made without "&". Calls made using "&" are never inlined. (See con- stant.pm for an easy way to declare most constants.)
See e.g. The Optimizer and Preprocessor Pranks for more details.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Macro in perl code?
by pileofrogs (Priest) on Oct 16, 2007 at 23:45 UTC | |
|
Re^4: Macro in perl code?
by Krambambuli (Curate) on Oct 17, 2007 at 07:18 UTC | |
by shmem (Chancellor) on Oct 17, 2007 at 08:53 UTC | |
by Krambambuli (Curate) on Oct 17, 2007 at 09:21 UTC | |
by pileofrogs (Priest) on Oct 17, 2007 at 16:01 UTC | |
by shmem (Chancellor) on Oct 17, 2007 at 19:44 UTC | |
by ikegami (Patriarch) on Oct 17, 2007 at 19:53 UTC |