Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: callback or call now?

by John M. Dlugosz (Monsignor)
on Oct 17, 2002 at 18:20 UTC ( [id://206086]=note: print w/replies, xml ) Need Help??


in reply to Re: callback or call now?
in thread callback or call now?

If backslash simply means "not the default", then its meaning varies with your expectations.

I'm thinking that it more-specifically means "take it literally, not as instructions to find the answer.". Then you get this progression:

foo => &bar means call bar now when the structure is being built. foo => \&bar means call bar later, when foo is imported (and bar can see the context of what the impoter is asking for). Finally, foo => \\&bar will call bar even later, when foo is actually called after being imported.

—John

Log In?
Username:
Password:

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

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

    No recent polls found