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

Re^2: Isn't Perl5 ready for C<my sub>?

by blazar (Canon)
on Sep 08, 2005 at 14:17 UTC ( [id://490221]=note: print w/replies, xml ) Need Help??


in reply to Re: Isn't Perl5 ready for C<my sub>?
in thread Isn't Perl5 ready for C<my sub>?

Let me guess... since in Perl5 an assignment to the declaration of a lexical variable can't contain the same lexical variable in the rhs (well, poor phrasing, but no doubt it's clear what I mean!) there's not yet full consensus on what should the name of such a sub refer to within its own body. Got it?

Replies are listed 'Best First'.
Re^3: Isn't Perl5 ready for C<my sub>?
by dave_the_m (Monsignor) on Sep 08, 2005 at 14:46 UTC
    well, that's one thing. Then there's things like: does the sub get re-created on each scope entry (so it captures external lexical vars anew) and does it affect method resolution?

    Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-16 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found