Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 browsing the Monastery: (8)
As of 2014-12-23 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (134 votes), past polls