Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Inlining functions

by merlyn (Sage)
on Dec 27, 2000 at 21:43 UTC ( #48461=note: print w/ replies, xml ) Need Help??


in reply to Inlining functions
in thread When do you function?

Well, since it'd probably be just an attribute on a subroutine, and we already have those, there's nothing really to RFC. {grin}

Ideally, the Perl compiler would just recognize when a subroutine qualifies as an open-coded version, and "do the right thing". I'd prefer that. Just like how certain subroutines are recognized as "constant" now, and pre-evaluated.

-- Randal L. Schwartz, Perl hacker


Comment on Re: Inlining functions

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://48461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-02 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (31 votes), past polls