please write a code to convert a text file from one format to other format (e.g. one XML dtd to other XML dtd). This assignment would involves pure regular expressions and would Not need any external module
The Perl5 regular expression engine (by itself) isn't up to XML, because of the way nesting is allowed in XML. Perl6 rules could handle it, but in any case an XML parser is a textbook example of something you should definitely NOT be reinventing without a full review of the existing ones and a really solid set of reasons why they won't do. (Unless of course you're doing it for the purpose of learning how or just for fun, in which case, go nuts.)
In reply to Re: Showing Sample Source Code without Modules
by jonadab
in thread Showing Sample Source Code without Modules
by Belgarion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |