Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: How do I pretend a reference isn't a reference

by Anonymous Monk
on Nov 06, 2008 at 14:00 UTC ( [id://721988]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How do I pretend a reference isn't a reference
in thread How do I pretend a reference isn't a reference

No it doesnt.
sub _ { 'compile time '.@_}; local *_ = sub { 'run time '.@_}; # the above is what your module/init code does my $c = _(1); die $c; __END__ run time 1 at - line 6.
You were saying that $c is one thing at runtime, another at compile time. Its only something at runtime.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found