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

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
From:
Eugene van der Pijll
Date:
December 5, 2001 05:09
Subject:
Re: The Santa Claus Golf Apocalypse
Message ID:
20011205140942.A19096@ruunat.phys.uu.nl
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 &;'

Eugene

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