Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Stripping CGI.pm tags

by f00li5h (Chaplain)
on Nov 06, 2008 at 23:59 UTC ( #722113=note: print w/ replies, xml ) Need Help??


in reply to Stripping CGI.pm tags

you could play with CGI.pm's innards to get a stack trace when font is called...

use CGI::Carp qw[ confess ]; my $old_font = \&CGI::font; *CGI::font = sub { confess "font here!"; $old_font(@_) };

or you can just replace it with a sub that returns a "<span class=""> with the class determined by what's passed in...

(udpate: this does involve you editing the code manually though)

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;


Comment on Re: Stripping CGI.pm tags
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-07-06 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls