Perl is a good language for isolating and extracting data from formatted text (i.e. (X)HTML). Some parts of Perl are like C++, most of it isn't; but it's easy to grasp.
XSLT can be used to extract and present data from well-formed XML (i.e. XHTML), but it is very 'strict' with regard to input, and somewhat constrained with regard to output.
Sieving data, as you put it, isn't really webdesign; but both of those languages can be used to generate pages and manage websites aswell.. It depends to a great extent on what you're trying to do overall.
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
Offline 1,091 posts
since Jul 2006