Uri Guttman: # printf "%d hash is $(%foo.string)", $bar ; # # no ambiguity and no confusion. how often will you need to # interpolate a # hash?
As others have pointed out, %foo{BAR} has to work. But I have another question for you: what's wrong with sprintf '%d hash is %s', $bar, %foo; ? After all, interpolating into an sprintf is a bit dangerous anyway (what if %foo=('%d' => '')?), and you avoid special cases. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include