NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
When XSLT Is Too Compact (Score:1)
Haven't We Learned Our Lesson? (Score:2)
XML is a fantastic tool, but trying to beat all problems into submission with it is simply ridiculous. What on earth is Sun trying to solve with XPRESS (with they describe as a "scripting language") that requires the verbosity of XML?
Torturing users to benefit the implementers. (Score:2)
The (false) laziest language designers and implementers in the world? "Grammar? Parser? Eh, just use XML." To paraphrase Matt Robinson [livejournal.com], whenever a programmer thinks 'I'll just use XML' their computer's speakers should create some sort of cock-shaped soundwave and plunge it repeatedly through their skulls.
Patrick quoted Larry Wall in his Perl 6 talk to the effect that language designers torment language implementers to the benefit of the users. This would appear to be the opposite.
Tell Me About It...? (Score:2)
This week I'm on a SAP training course learning their XI/PI middleware application. It's built on a mixture of their legacy ABAP (COBOL like) technology and all new Java code. Internally the whole middleware engine uses a proprietary form of SOAP to send messages along their system. It's little more than XSLT with bells on but it's horribly slow and bloated.
In the class, a colleague mistyped a parameter instead of raising a sensible error message, Java dumped and he got a Java stack dump thing. I don't like
-- "It's not magic, it's work..."
Let's try it with bacon... (Score:1)
block{
s{Hello there!}
add{ i{100} i{2} }
i{42}
}
cond{
and{
notnull{ref{accounts\[Exchange\].firstname}}
notnull{ref{accounts\[Exchange\].lastname}}
}
concat{
substr{ ref{accounts\[Exchange\].firstname} i{0} i{1}}
ref{accounts\[Exchange\].lastname}
}
}
Yeah, still ridiculous, but co