Cool! "quotemeta" works beautifully! Thanks for all of the suggestions - Greg.
-----Original Message----- From: Patrick Surry [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 2:13 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Best way to escape multiple values? Does the built-in 'quotemeta()' do enough for you? quotemeta EXPR This function returns the value of EXPR (or $_ if not specified) with all non-alphanumeric characters backslashed. This is the internal function implementing the \Q escape in interpolative contexts (including double-quoted strings, backticks, and patterns). _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
