Risto, thanks - I either missed the all-important section first time round or failed to grasp its signicance - or both.
So I now know how to create perl variables and how to manipulate perl objects from within SEC. Cool! As for the other matters I brought up. 1. Slippin' 'n' Slidin' with thresholds. I honestly think it would be a good idea if you could look into doing what I consider to be the right thing - making sure $0 corresponds to the 1st message of the multiple message event. But of course, if I only represent a minority opinion of 1, and if doing that made things a lot less efficient for everyone, I wouldn't like to be the one to blame, especially as I can get the behaviour I want by other means. 2. substr match and $0 Isn't it sufficient to just do @($subst_ref) = ($line) in match_substr? Thanks for your help, advice, and your program! Allen -----Original Message----- From: Risto Vaarandi [mailto:rvaara...@yahoo.com] Sent: Wednesday, March 11, 2009 8:12 PM To: simple-evcorr-users@lists.sourceforge.net; Conway Allen Subject: Re: [Simple-evcorr-users] using modules > Hello, > > I'm experimenting with SEC 2.5.1. > > I've seen that it's possible to load perl modules > (use ...) when SEC starts up (and at other times). I've > tried loading a module of mine and that works fine. However, > am I right in saying that it's not possible to create > and use objects inside of SEC like this: > eval %obj (new MyObj(...)) > eval %abc (%obj->doIt(...)) > > Or have I got it all wrong? If you assign values to variables with the 'eval' action, they are treated as strings during future substitutions. There is one exception from this rule -- the 'call' action can invoke perl code through one of its parameter variables, assuming it to contain a valid code reference. Generally speaking, if you want to memorize references, it is recommended to use perl variables for that (you can easily set them with 'eval'). SEC-2.5.1 man page also contains a short discussion about this issue. br, risto > > thanks, Allen. > > ________________________________ > > Ce message et les pi?ces jointes sont confidentiels et > r?serv?s ? l'usage exclusif de ses destinataires. Il > peut ?galement ?tre prot?g? par le secret professionnel. Si > vous recevez ce message par erreur, merci d'en avertir > imm?diatement l'exp?diteur et de le d?truire. > L'int?grit? du message ne pouvant ?tre assur?e sur > Internet, la responsabilit? du groupe Atos Origin ne pourra > ?tre recherch?e quant au contenu de ce message. Bien que les > meilleurs efforts soient faits pour maintenir cette > transmission exempte de tout virus, l'exp?diteur ne > donne aucune garantie ? cet ?gard et sa responsabilit? ne > saurait ?tre recherch?e pour tout dommage r?sultant d'un > virus transmis. > > This e-mail and the documents attached are confidential and > intended solely for the addressee; it may also be > privileged. If you receive this e-mail in error, please > notify the sender immediately and destroy it. As its > integrity cannot be secured on the Internet, the Atos Origin > group liability cannot be triggered for the message content. > Although the sender endeavours to maintain a computer > virus-free network, the sender does not warrant that this > transmission is virus-free and will not be liable for any > damages resulting from any virus transmitted. > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are > powering Web 2.0 with engaging, cross-platform > capabilities. Quickly and > easily build your RIAs with Flex Builder, the > Eclipse(TM)based development > software that enables intelligent coding and step-through > debugging. > Download the free 60 day trial. > http://p.sf.net/sfu/www-adobe-com_______________________________________________ > Simple-evcorr-users mailing list > Simple-evcorr-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users