On Thu, Sep 29, 2016 at 3:05 AM, James E Keenan via RT < perlbug-followup@perl.org> wrote: > Why, in a similar circumstance, does 'print' behave differently from > 'printf'? It's not different, is it? Well, okay, %d in the pattern to printf evaluates it in numeric context (getting 0), while double-quote interpolation evaluates it in string context (getting ''), but in either case, the variable is undefined (as you would see if running the snippets with warnings enabled). EirikThread Previous | Thread Next