develooper Front page | perl.fwp | Postings from December 2001

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
Eugene van der Pijll
December 5, 2001 05:09
Re: The Santa Claus Golf Apocalypse
Message ID:
Bernie Cosell schreef op 05 december 2001:
> Meta-question: since Perl is content to try to *call* '&main::;' is there
> some trickery to *DEFINE* such a subroutine?  For example, trying:
>    main:: { die; }
> gets you what I would have expected in the '..&' case: a syntax error for a 
> missing subroutine name.

perl -e'*;=sub {1}; print &;'


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About