Re: ToObject "preamble" Parameter
Jonathan Swartz <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
>> We're not going to add a use_utf8 for 1.27 - as far as I'm concerned >> that branch is closed for new features. We can consider it for 1.3x. > > > Okay. But the behavior of preamble does need to be settled (does it come > before %commit or not? Does it include $m or not?) and documented. Yes, this should be documented. You can expect that whatever the current behavior is, that'll be documented, since we don't want to break anything... > >> In the meantime, David, have you tried writing a small subclass of >> HTML::Mason::Compiler::ToObject that overrides _make_main_header? > > > No, but good idea (even if that does look suspiciously like a private > method!). Yes, and aren't you glad Perl doesn't enforce private/public distinctions? :) Jon ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl