>>>>> "BD" == Brent Dax <[EMAIL PROTECTED]> writes:
BD> Uri Guttman: BD> # $prec = %hash{width} ; BD> # sprintf( qf"%${prec}s", $string); BD> # BD> # sprintf( "\%${prec}s", $string); BD> # BD> # is one of your alternatives. :-/ BD> You forgot one. BD> sprintf('%'_%hash{width}_'s', $string); BD> Not horribly pretty, true, but not bad enough to justify writing a BD> quoting hack into the language. (And yes, I do consider 'qf' a BD> quoting hack.) but it fits into the q family well. the above code looks more like a hack (as you say it is not pretty). anyhow we haven't heard from larry on this yet since we heard the reports of printf issues. i will drop it for now as my flavor is out there along with the others. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com -- Stem is an Open Source Network Development Toolkit and Application Suite - ----- Stem and Perl Development, Systems Architecture, Design and Coding ---- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org