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;
In reply to Re: Over riding autoloaded sub
by Taulmarill
in thread Over riding autoloaded sub
by falinf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |