Bug 20759 - ORO's Perl should support variable substitution $variable$
Summary: ORO's Perl should support variable substitution $variable$
Status: CLOSED WONTFIX
Alias: None
Product: ORO
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.0.7
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 18:34 UTC by Colbert Philippe
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colbert Philippe 2003-06-13 18:34:28 UTC
I suggest to enhance ORO's Perl engine with variable subsitution.  All that is 
required is to have an hashtable in the engine where variables are taken from.  
This would add a lot of functionality to ORO Perl.

Furthermore along those lines, you could integrate ORO's Perl engine withe the 
Jakarta's XPath engine.  This would be optional of course.

There are many REGEX engines out there so ORO needs to demark itself from the 
others by providing special features.

Colbert Philippe
Comment 1 Daniel F. Savarese 2003-06-13 18:46:45 UTC
This functionality is already provided in a more efficient and clear manner
by allowing you to implement the Substitution interface.  It allows you
to perform whatever arbitrary manipulations of substitutions you want.
If you want to subclass Perl5Substitution and add variable interpolation,
by all means do so and submit it as a patch.  Further discussion of what
features should be provided by default and what features should be left
up to end users to implement should occur on the oro-dev list.  Thanks for
your suggestion.
Comment 2 Daniel F. Savarese 2004-11-07 16:02:10 UTC
This issues been resolved for a long while.  Therefore I'm closing it.