develooper Front page | perl.perl5.porters | Postings from December 2013

Re: [perl #120826] call_sv's docs are misleading

Thread Previous | Thread Next
From:
Zefram
Date:
December 19, 2013 14:33
Subject:
Re: [perl #120826] call_sv's docs are misleading
Message ID:
20131219143310.GM21945@fysh.org
Eric Brine wrote:
>   - sv == &PL_sv_yes is a no-op. It is documented as "unfound import,
>   ignore".

Freaky:

$ perl -lwe '1->(); print "OK"'        
Undefined subroutine &main::1 called at -e line 1.
$ perl -lwe '${\!0}->(); print "OK"'
OK

-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