develooper Front page | perl.perl6.language | Postings from May 2005

Sub call resolution

Thread Next
Luke Palmer
May 30, 2005 01:40
Sub call resolution
Message ID:
Okay, I'd like to set myself straight.  Sanity check:

    bar($foo, $baz);   # looks for subs (lexical then package), and
falls back to MMD
    $$baz);    # looks in ref($foo), then falls back to MMD

If this is correct, can we simplify the latter to mean "MMD only" ? 
Would there be a more symmetric MMD only form?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About