Re: Module for simple processing of "log" files

2005-03-30 Thread Philippe 'BooK' Bruhat
Le mercredi 30 mars 2005 à 11:05, Orton, Yves écrivait: > > Also, when i say these classes what im thinking is that they encapsulate the > knowledge about how to convert a rule specification into _source_code_ im > not thinking that they should have methods that are executed inside of the > parse

RE: Module for simple processing of "log" files

2005-03-30 Thread Orton, Yves
Title: RE: Module for simple processing of "log" files > Le mardi 29 mars 2005 à 17:52, Orton, Yves écrivait: > > > > I started working on a project like this but never got > around to finishing > > it. I called it "Generic Record Processing System&quo

RE: Module for simple processing of "log" files

2005-03-30 Thread Orton, Yves
Title: RE: Module for simple processing of "log" files > Le mardi 29 mars 2005 à 17:52, Orton, Yves écrivait: > > > > > > Any other name ideas or comments about the module and its > interface? > > > > I started working on a project like this

Re: Module for simple processing of "log" files

2005-03-29 Thread Philippe 'BooK' Bruhat
Le mardi 29 mars 2005 à 17:52, Orton, Yves écrivait: > > I started working on a project like this but never got around to finishing > it. I called it "Generic Record Processing System" IE GRPS. The point being > that this isnt a facility related to parsing log files, its a facility > relating to p

Re: Module for simple processing of "log" files

2005-03-29 Thread Philippe 'BooK' Bruhat
Le mardi 29 mars 2005 à 17:52, Orton, Yves écrivait: > > > > Any other name ideas or comments about the module and its interface? > > I started working on a project like this but never got around to finishing > it. I called it "Generic Record Processing System" IE GRPS. The point being > that thi

Re: Module for simple processing of "log" files

2005-03-29 Thread Philippe 'BooK' Bruhat
Le mardi 29 mars 2005 à 19:05, David Landgren écrivait: > >$blah->add_filter( > >bap => 'eq "zlopp"', > >clank => '!~ /clunk_eth/', > > A hash is unordered. Um hang on, or is this a list of pairs or a hash? It is a list of pairs. For the moment, the right part is pushed on a

Re: Module for simple processing of "log" files

2005-03-29 Thread David Landgren
Philippe 'BooK' Bruhat wrote: Hi, [...] > The module works like this: use Blah;# not a very good name for CPAN :-) Acme::Blah! :o) my $blah = Blah->new( delimiter => ':', fields=> [qw( bap clank glipp plop )], show => \&show_my_data, ); # quelqu

RE: Module for simple processing of "log" files

2005-03-29 Thread Orton, Yves
Title: RE: Module for simple processing of "log" files > I've found myself writing the same script again and again for > a client. > > Given a set of log files, if such and such field match such and such > condition, then process them in a certain way. I'