On Thu, Nov 29, 2007 at 10:20:00AM -0500, Mark J. Reed wrote: > The module could even, I suppose, insert a filter into the compiler so > that your proposed literal syntax would work, but I don't really see > the advantage of that over this: > > my $doc = Document.new(<<END); > <some><content>here</content></some> > END
Or even: my $doc = Document.new; $doc<some><content> = 'here'; Pm