Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 wandering the Monastery: (3)
As of 2025-07-14 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.