Help me please. Sory for my bad english. I do not understand as to remove emty string (in the output); For Examle this sample: _____________________________________________________________________________ <%doc>================================================= <%perl> $m->comp('.subcomponent', flavor=>'Hello'); $m->comp('.subcomponent2', flavor=>'By');
<%init> $r->content_type(q{text/html; charset=utf-8}); <%doc>================================================= <%def .subcomponent> <%perl> $m->out('Testibg 1... '.$flavor); <%args> $flavor=>undef; <%doc>================================================= <%def .subcomponent2> <%perl> $m->out('Testing 2... '.$flavor); <%args> $flavor=>undef; _____________________________________________________________________________ It is returning next output: _____________________________________________________________________________ Testibg 1... Hello Testing 2... By _____________________________________________________________________________ But, first string is empty. First string is returning of the main block. First string is trash. How to make that a script did not output empty string. P.S> For example it's destroys output file over browser. -- View this message in context: http://old.nabble.com/unnecessary-empty-stiring-tp27430833p27430833.html Sent from the Perl Mason - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users