Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Stripping CGI.pm tags

by f00li5h (Chaplain)
on Nov 06, 2008 at 23:59 UTC ( [id://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;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-18 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found