Perl and Expert Systems


 
Thread Tools Search this Thread
Top Forums Programming Perl and Expert Systems
# 1  
Old 03-07-2008
Perl and Expert Systems

Hi,

I'm designing / writing a system which would analyze results of a load test and determine whether test passed or failed. The trouble is, the pass/fail criteria is very complex. And it may vary. So I'm thinking of something similar to Expert Systems.

One idea is put the rules in XML file and use them to determine if test passes or fails. But this may not be the best idea.

Has anyone seen / worked with such application / program / system?

Please give me ideas, links, suggestions, thoughts.

Thanks,
Yogesh Sawant
# 2  
Old 03-17-2008
I dont know the details of your task but I would definitely
use an .txt format instead of XML for research stage.

If you are using Perl or another dynamic language, and if your rules need to be implemented as subroutines then you could consider separate files with these rules. Their filenames could be arguments for 'main' application from command line.
# 3  
Old 03-18-2008
Quote:
Originally Posted by odys
I dont know the details of your task but I would definitely
use an .txt format instead of XML for research stage.
how would i benefit from that?
# 4  
Old 03-18-2008
Hi.
Quote:
Originally Posted by Yogesh Sawant
how would i benefit from that?
I would say for much the same as:
Quote:
Don't use XML as your configuration file format. It may be
human-readable, but it's almost never human-understandable, and
the ratio of mark-up to content is vastly too high.

-- Perl Best Practices, D Conway, O'Reilly, 2005; page 445 ff.
Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Newby needs help from an OpenSSL expert

Dear friends, Thank you for reading this post. Please download files here: http://www.idanfe.com/dl/files.zip This is my problem: I have to sign a file like my teste1.txt One sample signed file is example.txt I am also including a private key I generated called... (4 Replies)
Discussion started by: fundidor
4 Replies

2. Solaris

Becoming a Solaris expert?

Hello everyone, how do you really study to become an expert in solaris OS? Thanks (3 Replies)
Discussion started by: cjashu
3 Replies

3. What is on Your Mind?

From Systems Admin to Systems Eng.

I have been wondering how do Systems Administrators do the jump into Systems Engineering? Is it only a matter of time and experience or could I actually help myself get there? Opinions? Books I could read? Thanks a lot for your help! (0 Replies)
Discussion started by: svalenciatech
0 Replies

4. Shell Programming and Scripting

Expert cp command

How can I use the cp command to copy every file that I can find inside several folders cp -R *test* folder Supose there is ./122342343teste122343.txt ./bound/123teste1223453.txt ./feed/123teste1223453.txt and i want the files 122342343teste122343.txt, bound/123teste1223453.txt... (12 Replies)
Discussion started by: lipe.82
12 Replies

5. UNIX for Advanced & Expert Users

Expert Opinion

This perhaps does not belong in ths category; apologies, however, we have a heated debate going and your input will decide the result. Should UNIX (HP, AIX, etc) be rebooted following a monthly cycle (Every month, or a qtr, etc.). We have some UX admins (grumps) who say they have seen a UX... (6 Replies)
Discussion started by: rsheikh
6 Replies

6. Solaris

expert vi commands

:) Hi UNIX friends, Where do I get advanced vi commands to practice. Please Help Me. Love (4 Replies)
Discussion started by: Love
4 Replies
Login or Register to Ask a Question