> 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 ------------------------------------------------------------------------------ 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