in reply to formatting text for parsing

For reference you might find Games::Rezrov/Games::Rezrov enlightening, it's (<retracted>London.pm's</retracted>) <insert>a parser for</insert> Infocom package.

As for the storage my hunch would be CSV(either Text::CSV or DBD::CSV) or XML (XML::Simple). Though implying and not having said create by hand ;-) I'll also toss out Storable/FreezeThaw.

--
perl -pe "s/\b;([st])/'\1/mg"

Replies are listed 'Best First'.
Re: Re: formatting text for parsing
by gellyfish (Monsignor) on Feb 10, 2002 at 19:11 UTC

    Firstly, I don't think that Games::Rezrov is London.pm's ;-} Not that we haven't collectively written some pretty mad stuff over the years ;-}

    Secondly the module reads yer actual Infocom Z-Code so you can play all of your favourite games from the past like Hitch-hikers guide to the galaxy on so forth.

    /J\

      Doh! I think it's somebody's though, Belfast.pm? As for reading yes, that would be why I said "for reference purposes", and said "As for storage" in the second paragraph ;-D.

      UPDATE: Helas my Bureaucracy and Hitchiker's Guide for Apple II wetn the way of curbside checkout long ago :-(. I was never able to get past the bulldozer.

      --
      perl -pe "s/\b;([st])/'\1/mg"