Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Over riding autoloaded sub

by Taulmarill (Deacon)
on Jun 30, 2010 at 13:44 UTC ( #847331=note: print w/ replies, xml ) Need Help??

in reply to Over riding autoloaded sub

You don't have to stash a reference to a sub in order to call it. I don't really know what you are trying to do. Please provide a minimal example showing what you tried similar to the following code and tell us what doesn't work

use strict; use warnings; use CGI qw/:standard/; sub header { return "this is not the header you are looking for\n"; } print header; print CGI::header; print main::header;

Comment on Re: Over riding autoloaded sub
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2015-11-30 13:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (770 votes), past polls