RFC 165 (v1) Allow Varibles in tr///

[email protected] (Perl6 RFC Librarian)
Newsgroups perl.perl6.language.regex,perl.perl6.announce
Message-ID <[email protected]>
This and other RFCs are available on the web at
  http://dev.perl.org/rfc/

=head1	TITLE

Allow Varibles in tr///

=head1 VERSION

	Maintainer: Richard Proctor <[email protected]>
	Date: 27 Aug 2000
	Mailing List: [email protected]
	Version: 1
	Number: 165

=head1 ABSTRACT

Allow variables in a tr///.  At present the only way to do a tr/$foo/$bar/
is to wrap it up in an eval.  I dont like using evals for this sort of thing.

=head1 DESCRIPTION

Suggested syntax: tr/$foo/$bar/e

With a /e, tr will expand both the LHS and RHS of the translate function.
Either or both could be variables. I am suggesting /e as it is sort of like
/e for s///e.

=head1 IMPLENTATION

No idea, but should be straight forward.

=head1 REFERENCES

None yet.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.