On Fri, Apr 27, 2007 at 09:54:37AM -0700, Pierre Mariani wrote: > Thank you, but I got it to work the way I wanted, thanks to Matthew and > Rob's posts: > > map { modify_variable(${$_}) } = \($var1, $var2, $var3);
I think you'll find that syntax is incorrect. And map in void context is generally frowned upon. modify_variable $$_ for \($var1, $var2, $var3); Or assign it back to $$_ if that is necessary. If you're passing in a reference is probably isn't. And given the name of the function, it probably shouldn't be. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/