develooper Front page | perl.perl6.language | Postings from April 2001

Re: Larry's Apocalypse 1

Thread Previous | Thread Next
From:
Dave Storrs
Date:
April 6, 2001 07:26
Subject:
Re: Larry's Apocalypse 1
Message ID:
Pine.BSF.4.21.0104060724250.25768-100000@megazone23.bigpanda.com


On Thu, 5 Apr 2001, Nathan Wiger wrote:

> I'm unsure about the "module main" idea. I like that modules as a whole
> are strict/-w by default. But the "module main" tag causes the same
> problem Larry is opposed to with BASIC/PLUS "EXTEND". That is, every
> Perl 6 program begins with "module main". Maybe there's a better way to
> implement this? ("use 6.0" has much the same problem)

	Not every p6 program...only the ones where you want the new
strict/warnings/whatever policies.  And you can always put -ws on your
shebang line if you don't want to type "module main."


				Dave


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