Hi Eric, > I hope I understood your problem correctly. If you want to supply a > regexp > somewhere (e.g., in a config file) and get it applied somewhere in the > program, you can do that: Have a look at the qr// operator and, if > necessary, eval.
Thanks for your input. Unfortunately, I have not been able to accomplish this so far - at least, not as I wanted. But I found a workaround which, I think, is agreeable as well: In the config file I do our $cuttux_from='db$'; our $cuttux_to=''; and in the main script $deftux =~ s/$cuttux_from/$cuttux_to/g; This changes "mydb" to "my" as expected, thus I am happy :-) Kind regards, Nora -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/