Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Output should have multiple segments

by AltBlue (Chaplain)
on Jul 19, 2008 at 14:21 UTC ( [id://698827]=note: print w/replies, xml ) Need Help??


in reply to Re: Output should have multiple segments
in thread Output should have multiple segments

You can avoid having to define dummy methods in your autohandlers (i.e. .add_style) and reduce output cluttering (i.e. empty style blocks) by testing if such "plugs" were defined:
% if ( $m->request_comp->method_exists('.add_style') ) { <style><& SELF:.add_style &></style> % }

--
altblue.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found