in reply to Re: It works!
in thread Input Record Separator WON'T WORK!

This is still in the earliest stage... Obiously, it does absolutely nothing right now. But it will! It will be changed immensely. No worries. ... I don't understand what you mean by that last line....? what do you mean "time to learn and use something else?" Learn... what? Use "something else" as opposed to.... what am I using now? ...?

Replies are listed 'Best First'.
Re^3: It works!
by eric256 (Parson) on Jan 25, 2008 at 14:14 UTC

    He means that if you are going to parse an XML file, use an XML module from CPAN because it already handles all the funky cases you will end up needing to handle and that if you want to reinvent the wheel (re-code and debug all the parts already done in a module) then you'll have to learn some new skills because IRS isn't going to cut it. ;)

    You mentioned wanting to be a good programmer before using modules, in Perl, using modules is a big part of being a good programmer.


    ___________
    Eric Hodges
Re^3: It works!
by ikegami (Patriarch) on Jan 25, 2008 at 04:13 UTC
    The input would need to be processed in order (char by char, then token by token). Using a parser generator (e.g. Parse::RecDescent and a good book on parsing) will help a lot, while still leaving much to learn.