Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> You had to use :any to get this behaviour:
Didn't see this, because :any is not documented in CGI , though -any is as a "pragma" (and mentioned in your blog-post) There is also a mention of -compile , which means AUTOLOAD isn't needed to create the HTML-DSL. IOW you could¹ get rid of AUTOLOAD without deprecating HTML-subs, just by making -compile the default. But if you meant to deprecate the -autoload pragma, this seems to be a good idea. Installing an AUTOLOAD into the importing namespace sounds like a very hazardous hack.
¹) I don't say "should" :)
updateAfter reading your blog-post again (>4th time) I'm puzzled. You only say you are disabling AUTOLOAD but not that you are deprecating precompiled HTML-subs in general. Did I misunderstand you? Maybe you could clarify. In reply to Re^8: Removing AUTOLOAD from CGI.pm (updated)
by LanX
|
|