http://www.perlmonks.org?node_id=459055


in reply to Re^2: xQuery functionality in Perl?
in thread xQuery functionality in Perl?

Interestingly, what the OP describes (basically, to promote XML expressions and constructs to first class objects) is not so foreign to language designers. I know at least to cases when it was done: one is Comega for C# and the other is XML::XSH. The latter one lets you mix in Perl and XML expressions, so it is really nice example of building XML into the language.