develooper Front page | perl.perl5.porters | Postings from August 2010

Re: [perl #77094] printf("a\n" =~ /b/)

Thread Previous | Thread Next
From:
Zefram
Date:
August 10, 2010 08:41
Subject:
Re: [perl #77094] printf("a\n" =~ /b/)
Message ID:
20100810154055.GC1095@lake.fysh.org
Nicholas Clark wrote:
>But I don't know why this is,

Because it accesses its first arg, the format string, differently from
the following variable arg list.

>                              or whether there are any other listops that
>can be used to trigger the problem.

sprintf.  The common underlying function is do_sprintf().

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About