Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: CGI::Application - Which is the proper way of handling and outputting utf8

by Anonymous Monk
on Dec 14, 2010 at 10:01 UTC ( #877036=note: print w/ replies, xml ) Need Help??


in reply to Re^3: CGI::Application - Which is the proper way of handling and outputting utf8
in thread CGI::Application - Which is the proper way of handling and outputting utf8

Is there a way to have imports automatically forwarded to CGI?

For example with:

use CGI::as_utf8 qw/-no_xhtml/;
-no_xhtml is not forwarded to CGI!


Comment on Re^4: CGI::Application - Which is the proper way of handling and outputting utf8
Re^5: CGI::Application - Which is the proper way of handling and outputting utf8
by ikegami (Pope) on Dec 15, 2010 at 23:52 UTC
    I think the following will do the trick.
    sub import { shift; unshift(@_, 'CGI'); goto &CGI::import; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2013-05-22 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (453 votes), past polls