Hi list, I haven't received any response to my last mail - does really nobody have any idea for a solution to my problem (see below)? I would very much appreciate any input.
Regards, Nora > > However, part of the answer is knowing the question. If this doesn't > > do the trick for you, a more thorough description would come in > handy. > > For instance, where will "db" come from, how many of these you want > to > > use and how to call them, etc. > > The question is: How can I enable several users to define a complete > substitution syntax for getting a username from a database name (after > a > fixed scheme)? I thought I could resolve that by loading a config file > where the users can specify a substitution syntax after a certain > scheme > (one scheme for all databases of one user, but different between > various > users). > > E.g. I have a database name "PRODDB"/"TESTDB"/"BUILDDB" --> username is > "prod"/"test"/"build" (s/db$//g) > E.g. I have a database name "STGKK_STP15M3"/"NOEGKK_STP14T2" --> > username is "stp15m3"/"stp14t2" (s/^[a-z*]_//g) > (always after a 'tr [A-Z] [a-z]') -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/